avoid double free (f[0] is freed in caller functions)
authorMiloš Mulač <mulac@civ.zcu.cz>
Fri, 11 Jan 2008 14:36:04 +0000 (14:36 +0000)
committerMiloš Mulač <mulac@civ.zcu.cz>
Fri, 11 Jan 2008 14:36:04 +0000 (14:36 +0000)
org.glite.lb.server/src/store.c.T

index ae5fec6..98a7687 100644 (file)
@@ -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,