diff options
-rw-r--r-- | src/theatre.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/theatre.c b/src/theatre.c index ad055c5a..fc68f275 100644 --- a/src/theatre.c +++ b/src/theatre.c @@ -46,7 +46,7 @@ TheatrePtr DetectTheatre(GENERIC_BUS_Ptr b) return NULL; } - t = xcalloc(1,sizeof(TheatreRec)); + t = calloc(1,sizeof(TheatreRec)); t->VIP = b; t->theatre_num = -1; t->mode=MODE_UNINITIALIZED; @@ -81,7 +81,7 @@ TheatrePtr DetectTheatre(GENERIC_BUS_Ptr b) if(t->theatre_num < 0) { - xfree(t); + free(t); return NULL; } |