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.
| Summary: |
Leak memory? |
| Product: |
SDL
|
Reporter: |
SEN <sendel2000> |
| Component: |
video | Assignee: |
Ryan C. Gordon <icculus> |
| Status: |
RESOLVED
INVALID
|
QA Contact: |
Sam Lantinga <slouken> |
| Severity: |
critical
|
|
|
| Priority: |
P2
|
Keywords: |
target-1.2.14 |
| Version: |
1.2.13 | |
|
| Hardware: |
x86 | |
|
| OS: |
Windows (All) | |
|
When I try blit from surface to surface in MinGW32 (in linux all ok!): int func1() { SDL_Surface *screen=LoadBMP... for(i=0;i<N;i++) { SDL_BlitSurface(screen, &destrect, screen, &destrect); //count N times } } int func2() { get_data_frm_net(data); //Im try other schema: curl, OpenSSL, wininet.dll func1(); get_data_frm_net(data); //may crush } ************** I Resolve this bug only as: SDL_Surface *temp=SDL_DisplayFormat(screen); SDL_BlitSurface(temp, &destrect, screen, &destrect); //count N times SDL_FreeSurface(temp); **************