From: Miloš Mulač Date: Fri, 11 Jan 2008 14:36:04 +0000 (+0000) Subject: avoid double free (f[0] is freed in caller functions) X-Git-Tag: merge_313_3_after~12 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=fd92614ebfb7ca658c3bffc67161e73e3610874e;p=jra1mw.git avoid double free (f[0] is freed in caller functions) --- 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,