We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 2856 - [PATCH] little MemLeak
Summary: [PATCH] little MemLeak
Status: NEW
Alias: None
Product: SDL_net
Classification: Unclassified
Component: misc (show other bugs)
Version: 2.0.0
Hardware: x86_64 Windows (All)
: P2 normal
Assignee: Sam Lantinga
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-24 23:30 UTC by Jean-Baptiste Noblot
Modified: 2015-01-24 23:30 UTC (History)
0 users

See Also:


Attachments
Patch for memleak (653 bytes, patch)
2015-01-24 23:30 UTC, Jean-Baptiste Noblot
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Baptiste Noblot 2015-01-24 23:30:42 UTC
Created attachment 2004 [details]
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