diff --git a/vfs-methods/fontilus/ChangeLog b/vfs-methods/fontilus/ChangeLog index f0178d51d..f61b8d17c 100644 --- a/vfs-methods/fontilus/ChangeLog +++ b/vfs-methods/fontilus/ChangeLog @@ -1,3 +1,9 @@ +2005-02-02 Kjartan Maraas + + * font-method.c: (fill_file_info): Plug a leak. + Closes bug #165312. + * thumbnailer.c: (main): Remove unused var + 2004-12-25 Kjartan Maraas * font-method.c: (ensure_font_list): NULL vs. 0 diff --git a/vfs-methods/fontilus/font-method.c b/vfs-methods/fontilus/font-method.c index 3c3f850b6..dc505ee9c 100644 --- a/vfs-methods/fontilus/font-method.c +++ b/vfs-methods/fontilus/font-method.c @@ -250,6 +250,7 @@ fill_file_info(GnomeVFSFileInfo *file_info, GnomeVFSFileInfoOptions options, uri = gnome_vfs_get_uri_from_local_path(file); result = gnome_vfs_get_file_info(uri, file_info, options); + g_free (uri); if (result == GNOME_VFS_OK) { g_free(file_info->name); file_info->name = g_strdup(name); diff --git a/vfs-methods/fontilus/thumbnailer.c b/vfs-methods/fontilus/thumbnailer.c index 5d57bf3b0..3e7759a0a 100644 --- a/vfs-methods/fontilus/thumbnailer.c +++ b/vfs-methods/fontilus/thumbnailer.c @@ -221,7 +221,6 @@ main(int argc, char **argv) FT_Library library; FT_Face face; FT_UInt glyph_index1, glyph_index2; - FT_ULong charcode; gchar *uri; GdkPixbuf *pixbuf; guchar *buffer;