diff options
author | Anton Lundin <glance@acc.umu.se> | 2013-12-11 21:21:49 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-12-11 22:17:21 +0100 |
commit | 2c689964ab5578d7df1b77e4d19a8e02218163e4 (patch) | |
tree | ffeb5a31db3fab771c85693bb76985321f7c7640 /profile.h | |
parent | 05b00742c6a8c90f42753bde3171d9fd70335238 (diff) | |
download | subsurface-2c689964ab5578d7df1b77e4d19a8e02218163e4.tar.gz |
Don't use old pointer after realloc
If realloc moved the memory, we shouldn't try to access it. realloc
copied that memory so access it via the new function instead.
Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile.h')
0 files changed, 0 insertions, 0 deletions