libpurple/pluginpref.c

branch
release-2.x.y
changeset 36227
f3d4e059a391
parent 36221
277c5fda03fe
child 36229
c6b248d98ba9
child 40764
d687fda4047d
equal deleted inserted replaced
36224:5fdaf1c7c04f 36227:f3d4e059a391
152 g_free(tmp->data); 152 g_free(tmp->data);
153 /* Remove the string, and the data entries */ 153 /* Remove the string, and the data entries */
154 tmp = g_list_delete_link(tmp, tmp); 154 tmp = g_list_delete_link(tmp, tmp);
155 tmp = g_list_delete_link(tmp, tmp); 155 tmp = g_list_delete_link(tmp, tmp);
156 } 156 }
157
158 g_list_free(pref->choices);
159 g_free(pref); 157 g_free(pref);
160 } 158 }
161 159
162 void 160 void
163 purple_plugin_pref_set_name(PurplePluginPref *pref, const char *name) 161 purple_plugin_pref_set_name(PurplePluginPref *pref, const char *name)

mercurial