Re: [PATCH v2 1/3] [libx11] Variable map goes out of scope

2011-02-01 Thread Dirk Wallenstein
On Mon, Jan 31, 2011 at 12:03:32PM +0200, Erkki Seppälä wrote: Release modifiermap before returning. Reordered code to call XGetModifierMapping after the first return from the function. Signed-off-by: Erkki Seppälä erkki.sepp...@vincit.fi diff --git a/modules/im/ximcp/imThaiFlt.c

[PATCH v2 1/3] [libx11] Variable map goes out of scope

2011-01-31 Thread Erkki Seppälä
Release modifiermap before returning. Reordered code to call XGetModifierMapping after the first return from the function. Signed-off-by: Erkki Seppälä erkki.sepp...@vincit.fi diff --git a/modules/im/ximcp/imThaiFlt.c b/modules/im/ximcp/imThaiFlt.c index e0b3988..e2b0458 100644 ---