[PATCH v2 13/25] [libx11] The NEWTABLE macro missed freeing its allocated memory on subsequent memory allocation errors. Added call to Xfree.

2011-01-31 Thread Erkki Seppälä
Variable "table" goes out of scope Reviewed-by: Ander Conselvan de Oliveira Signed-off-by: Erkki Seppälä --- src/Xrm.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/Xrm.c b/src/Xrm.c index 21f0af3..3e68c37 100644 --- a/src/Xrm.c +++ b/src/Xrm.c @@ -842,8 +842,1

Re: [PATCH v2 13/25] [libx11] The NEWTABLE macro missed freeing its allocated memory on subsequent memory allocation errors. Added call to Xfree.

2011-01-31 Thread Alan Coopersmith
On 01/31/11 04:02 AM, Erkki Seppälä wrote: > Variable "table" goes out of scope > > Reviewed-by: Ander Conselvan de Oliveira > > Signed-off-by: Erkki Seppälä > --- > src/Xrm.c |4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > > diff --git a/src/Xrm.c b/src/Xrm.c > index 21f0af