diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2012-01-18 10:51:01 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2012-01-18 10:51:01 +0100 |
commit | d3bf039f3f6b407dbeda9f9b2a5a78c8b8f4bc73 (patch) | |
tree | 8b10475f490ae043564f18cfe1a61a0247bb675f /device.c | |
parent | 33342fb17bcfea3cb91207c9042c4b5f28d3ca46 (diff) | |
download | vdr-d3bf039f3f6b407dbeda9f9b2a5a78c8b8f4bc73.tar.gz vdr-d3bf039f3f6b407dbeda9f9b2a5a78c8b8f4bc73.tar.bz2 |
Fixed a crash in a plugin using cDeviceHook when VDR ends
Diffstat (limited to 'device.c')
-rw-r--r-- | device.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: device.c 2.45 2012/01/17 15:28:57 kls Exp $ + * $Id: device.c 2.46 2012/01/18 10:43:00 kls Exp $ */ #include "device.h" @@ -335,6 +335,7 @@ void cDevice::SetCamSlot(cCamSlot *CamSlot) void cDevice::Shutdown(void) { + deviceHooks.Clear(); primaryDevice = NULL; for (int i = 0; i < numDevices; i++) { delete device[i]; |