comparison src/editors.c @ 1409:863ac709f6b4

Add missing g_key_file_free() call.
author zas_
date Mon, 09 Mar 2009 19:37:58 +0000
parents 1cc4ea53c9a3
children 25168240a247
comparison
equal deleted inserted replaced
1408:1cc4ea53c9a3 1409:863ac709f6b4
164 164
165 type = g_key_file_get_string(key_file, DESKTOP_GROUP, "Type", NULL); 165 type = g_key_file_get_string(key_file, DESKTOP_GROUP, "Type", NULL);
166 if (!type || strcmp(type, "Application") != 0) 166 if (!type || strcmp(type, "Application") != 0)
167 { 167 {
168 /* We only consider desktop entries of Application type */ 168 /* We only consider desktop entries of Application type */
169 g_key_file_free(key_file);
169 return FALSE; 170 return FALSE;
170 } 171 }
171 172
172 editor = g_new0(EditorDescription, 1); 173 editor = g_new0(EditorDescription, 1);
173 174