Thread
:
[SOLVED] GCC (g++) Memory allocation issues
View Single Post
07 January 2012, 14:59
#
15
Toni Wilen
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,534
Your problem (as was already said) is wrong usage of realloc(). It may return original address or it may return new address. Depends on available memory, memory fragmentation and so on..
Also note that realloc() can fail.
Toni Wilen
View Public Profile
Visit Toni Wilen's homepage!
Find More Posts by Toni Wilen
Page generated in
0.04250
seconds with
11
queries