[ekg2-commit] r4614 - trunk/plugins/gg: trunk/plugins/gg/commands.c
SVN commit
svn w toxygen.net
Wto, 9 Wrz 2008, 22:13:54 CEST
Author: darkjames
Date: 2008-09-09 22:13:53 +0200 (Tue, 09 Sep 2008)
New Revision: 4614
Modified:
trunk/plugins/gg/commands.c
Log:
fix double free (wrkq)
Modified: trunk/plugins/gg/commands.c
===================================================================
--- trunk/plugins/gg/commands.c 2008-09-09 15:25:52 UTC (rev 4613)
+++ trunk/plugins/gg/commands.c 2008-09-09 20:13:53 UTC (rev 4614)
@@ -399,7 +399,7 @@
}
if (params0) {
- char *tmp = ekg_locale_to_cp(params0);
+ char *tmp = ekg_locale_to_cp(xstrdup(params0));
if (xstrlen(tmp) > GG_STATUS_DESCR_MAXSIZE && config_reason_limit) {
if (!timeout) {
char *descr_poss = xstrndup(params0, GG_STATUS_DESCR_MAXSIZE);
Więcej informacji o liście dyskusyjnej ekg2-commit