[PATCH] little MemLeak
SDLBugzilla opened this issue · comments
SDL Bugzilla Import Bot commented
This bug report was migrated from our old Bugzilla tracker.
These attachments are available in the static archive:
Reported in version: 2.0.0
Reported for operating system, platform: Windows (All), x86_64
Comments on the original bug report:
On 2015-01-24 23:30:42 +0000, Jean-Baptiste Noblot wrote:
Created attachment 2004
Patch for memleakWe reassign directly the same var with realloc but if realloc fail we loose the pointer
SDLnet.c line 239
so the patch make a tmpVar and assign after