From e74ecabedd88aa520917fa0fa68c60e08aaf2c50 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Sat, 28 Apr 2012 10:32:10 +0200 Subject: [PATCH] Add shouldn't clear on failure either, it would be rather ugly to handle --- astir.h | 1 - 1 file changed, 1 deletion(-) diff --git a/astir.h b/astir.h index 16c14c9..0570069 100644 --- a/astir.h +++ b/astir.h @@ -49,7 +49,6 @@ bool GMQCC_WARN Tself##_##mem##_add(Tself *self, Twhat f) \ } \ reall = (Twhat*)mem_a(sizeof(Twhat) * self->mem##_alloc); \ if (!reall) { \ - MEM_VECTOR_CLEAR(self, mem); \ return false; \ } \ memcpy(reall, self->mem, sizeof(Twhat) * self->mem##_count); \ -- 2.39.2