diff options
author | Andrzej Zaborowski <andrew.zaborowski@intel.com> | 2011-02-28 01:58:55 +0100 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2011-02-28 16:14:50 -0600 |
commit | 2443cdef495baf59103a5adc39606035cfc535e9 (patch) | |
tree | f4b10acae5cce84014f7a963a1675e3f7d182098 /src/stk.c | |
parent | ef49d65b70c802deb8f634744a1c108c78a9146d (diff) | |
download | ofono-2443cdef495baf59103a5adc39606035cfc535e9.tar.bz2 |
stk: Make sure to reset respond_on_exit
This fixes a crash spotted by Lasse Kunnasluoto documented at
http://lists.ofono.org/pipermail/ofono/2011-February/009211.html
Diffstat (limited to 'src/stk.c')
-rw-r--r-- | src/stk.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2514,6 +2514,7 @@ static void stk_proactive_command_cancel(struct ofono_stk *stk) stk_command_free(stk->pending_cmd); stk->pending_cmd = NULL; stk->cancel_cmd = NULL; + stk->respond_on_exit = FALSE; } } |