From 7ac36d4d8d455b62a803e3de80134ec4ae7c1781 Mon Sep 17 00:00:00 2001 From: TingPing Date: Tue, 20 Nov 2012 05:00:39 -0500 Subject: Use g_strdup --- plugins/checksum/checksum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/checksum/checksum.c b/plugins/checksum/checksum.c index 77359e3f..cedabc21 100644 --- a/plugins/checksum/checksum.c +++ b/plugins/checksum/checksum.c @@ -180,7 +180,7 @@ dccrecv_cb (char *word[], void *userdata) } else { - file = word[2]; + file = g_strdup(word[2]); } result = stat64 (file, &buffer); -- cgit 1.4.1