[Goodies-commits] r6985 - xfce4-sensors-plugin/trunk/lib
Fabian Nowak
timystery at xfce.org
Mon Mar 23 21:37:20 CET 2009
Author: timystery
Date: 2009-03-23 20:37:20 +0000 (Mon, 23 Mar 2009)
New Revision: 6985
Modified:
xfce4-sensors-plugin/trunk/lib/hddtemp.c
Log:
initialized emtpy string variable that might be freed to NULL
Modified: xfce4-sensors-plugin/trunk/lib/hddtemp.c
===================================================================
--- xfce4-sensors-plugin/trunk/lib/hddtemp.c 2009-03-23 19:55:12 UTC (rev 6984)
+++ xfce4-sensors-plugin/trunk/lib/hddtemp.c 2009-03-23 20:37:20 UTC (rev 6985)
@@ -437,7 +437,7 @@
gchar *standard_output, *standard_error;
gchar *cmd_line, *msg_text;
#ifndef HAVE_LIBNOTIFY
- gchar *checktext;
+ gchar *checktext = NULL;
#endif
gint exit_status=0;
double value;
More information about the Goodies-commits
mailing list