summary refs log tree commit diff stats
path: root/plugins/checksum
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/checksum')
-rw-r--r--plugins/checksum/checksum.c2
1 files changed, 1 insertions, 1 deletions
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);