summaryrefslogtreecommitdiff
path: root/ci.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-10-30 10:27:24 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2005-10-30 10:27:24 +0100
commit3c59953017bada3f3b5ac05dfba602ddb5fe87df (patch)
tree4ffa66011559ab060957d90a50312484d47d5a59 /ci.c
parent64c2b3b0deb0dd5928c247fe6c51c3de3f5bbf80 (diff)
downloadvdr-3c59953017bada3f3b5ac05dfba602ddb5fe87df.tar.gz
vdr-3c59953017bada3f3b5ac05dfba602ddb5fe87df.tar.bz2
Added missing mutex locks to cCiMenu::Abort() and cCiEnquiry::Abort()
Diffstat (limited to 'ci.c')
-rw-r--r--ci.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ci.c b/ci.c
index 9e86c613..542e318e 100644
--- a/ci.c
+++ b/ci.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: ci.c 1.36 2005/10/03 12:58:22 kls Exp $
+ * $Id: ci.c 1.37 2005/10/30 10:24:38 kls Exp $
*/
#include "ci.h"
@@ -1267,6 +1267,7 @@ bool cCiMenu::Cancel(void)
bool cCiMenu::Abort(void)
{
+ cMutexLock MutexLock(&mutex);
return mmi && mmi->SendCloseMMI();
}
@@ -1301,6 +1302,7 @@ bool cCiEnquiry::Cancel(void)
bool cCiEnquiry::Abort(void)
{
+ cMutexLock MutexLock(&mutex);
return mmi && mmi->SendCloseMMI();
}