summaryrefslogtreecommitdiffstats
path: root/statistics.c
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2013-12-11 21:21:49 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-12-11 22:17:21 +0100
commit2c689964ab5578d7df1b77e4d19a8e02218163e4 (patch)
treeffeb5a31db3fab771c85693bb76985321f7c7640 /statistics.c
parent05b00742c6a8c90f42753bde3171d9fd70335238 (diff)
downloadsubsurface-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 'statistics.c')
0 files changed, 0 insertions, 0 deletions