Commit a7633261 authored by Milan Crha's avatar Milan Crha

Fix few memory leaks around composer and e-widget-undo.c

parent d228ae16
......@@ -4214,6 +4214,8 @@ add_recipients (GList *list,
}
}
g_object_unref (cia);
return list;
}
......
......@@ -90,6 +90,7 @@ free_undo_data (gpointer ptr)
for (ii = 0; ii < data->undo_len; ii++) {
free_undo_info (data->undo_stack[ii]);
}
g_free (data->undo_stack);
g_free (data);
}
}
......
......@@ -111,6 +111,8 @@ create_snapshot_file (EMsgComposer *composer,
SNAPSHOT_FILE_KEY, snapshot_file,
(GDestroyNotify) delete_snapshot_file);
g_free (path);
return snapshot_file;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment