changeset 22731:645423a7a7b6

Use g_strdup() instead of strdup (doesn't really matter as it is never freed)
author Daniel Atallah <daniel.atallah@gmail.com>
date Fri, 25 Apr 2008 17:57:54 +0000
parents 74f586c40f6e
children 8d3c68a8eed4
files libpurple/plugin.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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