From: Michael Beck Date: Sat, 16 Aug 2008 10:10:58 +0000 (+0000) Subject: small improvement X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=966993f68bd3d8f7d25ec0d72d3cc32775a3d1d4;p=libfirm small improvement [r21213] --- diff --git a/ir/ir/irgraph.c b/ir/ir/irgraph.c index 0c5b73575..81d2de588 100644 --- a/ir/ir/irgraph.c +++ b/ir/ir/irgraph.c @@ -168,8 +168,8 @@ void irg_set_nloc(ir_graph *res, int n_loc) { } if (res->loc_descriptions) { xfree(res->loc_descriptions); + res->loc_descriptions = NULL; } - res->loc_descriptions = NULL; } /* Allocates a list of nodes: