From 71dd677df4ba0a60dd6a92b1469b59b8bd3082d7 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Fri, 10 Jun 2011 15:59:36 +0200 Subject: [PATCH] isl_obj_list.c: fix typo Signed-off-by: Sven Verdoolaege --- isl_obj_list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/isl_obj_list.c b/isl_obj_list.c index 50f327a..6204b2d 100644 --- a/isl_obj_list.c +++ b/isl_obj_list.c @@ -116,7 +116,7 @@ __isl_give isl_list *isl_list_add_obj(__isl_take isl_list *list, if (!list || !obj.v) goto error; - new_list = isl_realloc(ctx, list, struct isl_list, + new_list = isl_realloc(list->ctx, list, struct isl_list, sizeof(struct isl_list) + list->n * sizeof(struct isl_obj)); if (!new_list) -- 2.11.4.GIT