| 935 if(pref) { |
935 if(pref) { |
| 936 GList *tmp; |
936 GList *tmp; |
| 937 |
937 |
| 938 if(pref->type != PURPLE_PREF_PATH_LIST) { |
938 if(pref->type != PURPLE_PREF_PATH_LIST) { |
| 939 purple_debug_error("prefs", |
939 purple_debug_error("prefs", |
| 940 "purple_prefs_set_path_list: %s not a string list pref\n", |
940 "purple_prefs_set_path_list: %s not a path list pref\n", |
| 941 name); |
941 name); |
| 942 return; |
942 return; |
| 943 } |
943 } |
| 944 |
944 |
| 945 g_list_foreach(pref->value.stringlist, (GFunc)g_free, NULL); |
945 g_list_foreach(pref->value.stringlist, (GFunc)g_free, NULL); |