# HG changeset patch # User Daniel Atallah # Date 1209146274 0 # Node ID 645423a7a7b65ca80a8d8faa2d295841ec420f69 # Parent 74f586c40f6e9a5f19f1f40cba458acb3a32d93e Use g_strdup() instead of strdup (doesn't really matter as it is never freed) diff -r 74f586c40f6e -r 645423a7a7b6 libpurple/plugin.c --- a/libpurple/plugin.c Fri Apr 25 17:51:03 2008 +0000 +++ b/libpurple/plugin.c Fri Apr 25 17:57:54 2008 +0000 @@ -1212,7 +1212,7 @@ if (g_list_find_custom(search_paths, path, (GCompareFunc)strcmp)) return; - search_paths = g_list_append(search_paths, strdup(path)); + search_paths = g_list_append(search_paths, g_strdup(path)); } void