Revision: 2679
http://ipcop.svn.sourceforge.net/ipcop/?rev=2679&view=rev
Author: gespinasse
Date: 2009-04-09 06:02:21 +0000 (Thu, 09 Apr 2009)
Log Message:
-----------
Should suppress a memory leak due to gcc warning workaround with string
including %s
Modified Paths:
--------------
ipcop/trunk/src/installer/passwords.c
Modified: ipcop/trunk/src/installer/passwords.c
===================================================================
--- ipcop/trunk/src/installer/passwords.c 2009-04-08 20:11:08 UTC (rev
2678)
+++ ipcop/trunk/src/installer/passwords.c 2009-04-09 06:02:21 UTC (rev
2679)
@@ -110,6 +110,7 @@
/* workaround gcc warning, there is really 2 %s there */
tmpstring = strdup(gettext("TR_ENTER_ADMIN_PASSWORD"));
snprintf(message, STRING_SIZE, tmpstring, NAME, NAME);
+ free(tmpstring);
}
else if (!strcmp(user, "backup")) {
strcpy(message, gettext("TR_ENTER_BACKUP_PASSWORD"));
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Ipcop-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ipcop-svn