gnome-control-center r9155 - trunk/capplets/appearance
- From: jensg svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-control-center r9155 - trunk/capplets/appearance
- Date: Sat, 29 Nov 2008 09:53:19 +0000 (UTC)
Author: jensg
Date: Sat Nov 29 09:53:18 2008
New Revision: 9155
URL: http://svn.gnome.org/viewvc/gnome-control-center?rev=9155&view=rev
Log:
2008-11-29 Jens Granseuer <jensgr gmx net>
* theme-installer.c: (file_theme_type): don't leak the filename
Modified:
trunk/capplets/appearance/ChangeLog
trunk/capplets/appearance/theme-installer.c
Modified: trunk/capplets/appearance/theme-installer.c
==============================================================================
--- trunk/capplets/appearance/theme-installer.c (original)
+++ trunk/capplets/appearance/theme-installer.c Sat Nov 29 09:53:18 2008
@@ -84,6 +84,7 @@
gboolean match;
g_file_get_contents (filename, &file_contents, &file_size, NULL);
+ g_free (filename);
pattern = g_pattern_spec_new ("*[Icon Theme]*");
match = g_pattern_match_string (pattern, file_contents);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]