pidgin: 6c9a19d4: Use g_strdup() instead of strdup (doesn'...

datallah at pidgin.im datallah at pidgin.im
Fri Apr 25 14:00:43 EDT 2008


-----------------------------------------------------------------
Revision: 6c9a19d4cee476886c37311e8bb9020f7027cbb6
Ancestor: 245c11ac06f6a80c064fc32c111451b670e30f84
Author: datallah at pidgin.im
Date: 2008-04-25T17:57:54
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/6c9a19d4cee476886c37311e8bb9020f7027cbb6

Modified files:
        libpurple/plugin.c

ChangeLog: 

Use g_strdup() instead of strdup (doesn't really matter as it is never
freed)

-------------- next part --------------
============================================================
--- libpurple/plugin.c	ecb1ce693f792c9e98ce430fe9711ac8773afe94
+++ libpurple/plugin.c	de9710fa2ec34ef01784c43d778185deb3dc1611
@@ -1212,7 +1212,7 @@ purple_plugins_add_search_path(const cha
 	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


More information about the Commits mailing list