summary refs log tree commit diff stats
path: root/plugins/sysinfo/xsys.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/sysinfo/xsys.c')
-rw-r--r--plugins/sysinfo/xsys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sysinfo/xsys.c b/plugins/sysinfo/xsys.c
index ba02ad46..0c32b751 100644
--- a/plugins/sysinfo/xsys.c
+++ b/plugins/sysinfo/xsys.c
@@ -162,7 +162,7 @@ print_summary (int announce, char* format)
 
 	free_space = pretty_freespace ("Physical", &mem_free, &mem_total);
 	snprintf (buffer, bsize, "%s", free_space);
-	free (free_space);
+	g_free (free_space);
 	format_output ("RAM", buffer, format);	
 	strcat (sysinfo, "\017 ");
 	strncat (sysinfo, buffer, bsize - strlen (sysinfo));