SDL_net icon indicating copy to clipboard operation
SDL_net copied to clipboard

[PATCH] little MemLeak

Open SDLBugzilla opened this issue 4 years ago • 0 comments

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 memleak

We 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

SDLBugzilla avatar Feb 11 '21 06:02 SDLBugzilla