X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fadt%2Fset.c;h=6411e38efe6f7c5e602b79706cec73424966114d;hb=31ef53136fdb86d4a98919c2148c95cadea4ea81;hp=9645bf1bab87e25b6dd5bd8df9af5642ff5fa1e3;hpb=1ce363f80e6a204d4011f85813362d9bd1d0e7e4;p=libfirm diff --git a/ir/adt/set.c b/ir/adt/set.c index 9645bf1ba..6411e38ef 100644 --- a/ir/adt/set.c +++ b/ir/adt/set.c @@ -188,7 +188,7 @@ SET * (PMANGLE(new)) (MANGLEP(cmp_fun) cmp, int nslots) { int i; - SET *table = xmalloc(sizeof(*table)); + SET *table = XMALLOC(SET); if (nslots > SEGMENT_SIZE * DIRECTORY_SIZE) nslots = DIRECTORY_SIZE;