diff options
author | Erkki Seppälä <erkki.seppala@vincit.fi> | 2011-01-31 14:02:05 +0200 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2016-10-19 21:40:24 +0200 |
commit | afd1d4eb5378d3c7419021b33e9c55619c364c1a (patch) | |
tree | 4fcf66c228f2c0ab2baf823845021de9d37e6aaf /replace.sh | |
parent | 1ac1b691d24af84db4061ca7b3fffb0f588e8f3c (diff) | |
download | nx-libs-afd1d4eb5378d3c7419021b33e9c55619c364c1a.tar.gz nx-libs-afd1d4eb5378d3c7419021b33e9c55619c364c1a.tar.bz2 nx-libs-afd1d4eb5378d3c7419021b33e9c55619c364c1a.zip |
Xrm: NEWTABLE had a memory leak after a memory allocation error
The NEWTABLE macro missed freeing its allocated memory on subsequent
memory allocation errors. Added call to Xfree.
Variable "table" goes out of scope
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de>
Diffstat (limited to 'replace.sh')
0 files changed, 0 insertions, 0 deletions