small improvement
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Sat, 16 Aug 2008 10:10:58 +0000 (10:10 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Sat, 16 Aug 2008 10:10:58 +0000 (10:10 +0000)
[r21213]

ir/ir/irgraph.c

index 0c5b735..81d2de5 100644 (file)
@@ -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: