mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-23 20:33:05 +00:00
Add shouldn't clear on failure either, it would be rather ugly to handle
This commit is contained in:
parent
1bf4aa379a
commit
e74ecabedd
1 changed files with 0 additions and 1 deletions
1
astir.h
1
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); \
|
||||
|
|
Loading…
Reference in a new issue