From fd92614ebfb7ca658c3bffc67161e73e3610874e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Milo=C5=A1=20Mula=C4=8D?= Date: Fri, 11 Jan 2008 14:36:04 +0000 Subject: [PATCH] avoid double free (f[0] is freed in caller functions) --- org.glite.lb.server/src/store.c.T | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.glite.lb.server/src/store.c.T b/org.glite.lb.server/src/store.c.T index ae5fec6..98a7687 100644 --- a/org.glite.lb.server/src/store.c.T +++ b/org.glite.lb.server/src/store.c.T @@ -863,7 +863,7 @@ static edg_wll_ErrorCode states_values_embryonic( if (jobid_md5 == NULL || parent_md5 == NULL || stat_enc == NULL) goto err; - if (edg_wll_IColumnsSQLPart(ctx, ctx->job_index_cols, stat->pub, 1, icnames, &icvalues)) goto err; + if (edg_wll_IColumnsSQLPart(ctx, ctx->job_index_cols, &stat->pub, 1, icnames, &icvalues)) goto err; trio_asprintf(&stmt, "'%|Ss',%d,%d,'%|Ss','%|Ss','%|Ss'%s", jobid_md5, stat->pub.state, 1, stat_enc, -- 1.8.2.3