Fix TDIS-1012 issue(APN setting)
[platform/core/telephony/tel-plugin-imc.git] / src / s_ps.c
index 5e7c6a8..ebd18fa 100755 (executable)
@@ -143,9 +143,11 @@ static void on_response_undefine_context_cmd(TcorePending *p, int data_len, cons
        co_ps = tcore_pending_ref_core_object(p);
        if (resp->success) {
                dbg("Response Ok");
-               return;
+               goto exit;
        }
        dbg("Response NOk");
+
+exit:
        _unable_to_get_pending(co_ps, ps_context);
        return;
 }