jihoon pushed a commit to branch master.

commit 2b344688f932d516e8de809135cfe3049f8e6e77
Author: Jihoon Kim <[email protected]>
Date:   Wed Jul 17 19:31:45 2013 +0900

    [ecore_imf] fix crash because of invalid show request context
---
 src/lib/ecore_imf/ecore_imf_context.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/lib/ecore_imf/ecore_imf_context.c 
b/src/lib/ecore_imf/ecore_imf_context.c
index 3601b41..272a04b 100644
--- a/src/lib/ecore_imf/ecore_imf_context.c
+++ b/src/lib/ecore_imf/ecore_imf_context.c
@@ -182,6 +182,10 @@ ecore_imf_context_del(Ecore_IMF_Context *ctx)
                          "ecore_imf_context_del");
         return;
      }
+
+   if (show_req_ctx == ctx)
+       show_req_ctx = NULL;
+
    if (ctx->klass->del) ctx->klass->del(ctx);
 
    if (ctx->callbacks)

-- 

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk

Reply via email to