Plug a leak. Closes bug #165312. Remove unused var

2005-02-02  Kjartan Maraas  <kmaraas@gnome.org>

	* font-method.c: (fill_file_info): Plug a leak.
	Closes bug #165312.
	* thumbnailer.c: (main): Remove unused var
This commit is contained in:
Kjartan Maraas 2005-02-02 11:13:54 +00:00 committed by Kjartan Maraas
parent 316baedb90
commit f6d458c4e7
3 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
* font-method.c: (fill_file_info): Plug a leak.
Closes bug #165312.
* thumbnailer.c: (main): Remove unused var
2004-12-25 Kjartan Maraas <kmaraas@gnome.org>
* font-method.c: (ensure_font_list): NULL vs. 0

View file

@ -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);

View file

@ -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;