Revision: 2014 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2014&view=re... Author: frlan Date: 2011-04-09 15:09:22 +0000 (Sat, 09 Apr 2011)
Log Message: ----------- GeanyVC: Initialize some variables with NULL to ensure g_free() etc. are not failing
Modified Paths: -------------- trunk/geany-plugins/geanyvc/src/vc_bzr.c
Modified: trunk/geany-plugins/geanyvc/src/vc_bzr.c =================================================================== --- trunk/geany-plugins/geanyvc/src/vc_bzr.c 2011-04-09 15:08:59 UTC (rev 2013) +++ trunk/geany-plugins/geanyvc/src/vc_bzr.c 2011-04-09 15:09:22 UTC (rev 2014) @@ -163,7 +163,7 @@ FILE_NAME, };
- gchar *txt; + gchar *txt = NULL; GSList *ret = NULL; gint pstatus = FIRST_CHAR; const gchar *p; @@ -172,7 +172,7 @@ const gchar *start = NULL; CommitItem *item;
- const gchar *status; + const gchar *status = NULL; gchar *filename; const char *argv[] = { "bzr", "status", "--short", NULL };
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
plugins-commits@lists.geany.org