summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9a11a66)
raw | patch | inline | side by side (parent: 9a11a66)
author | Florian Forster <octo@collectd.org> | |
Fri, 17 May 2013 14:44:02 +0000 (16:44 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Fri, 17 May 2013 14:44:02 +0000 (16:44 +0200) |
src/mic.c | patch | blob | history |
diff --git a/src/mic.c b/src/mic.c
index ec92c8bee0b0bf8881b9eeee3d71bcbcd0656681..570da51bcfd56c20296effdd64e570e3ff9eb6b9 100644 (file)
--- a/src/mic.c
+++ b/src/mic.c
static int mic_shutdown (void)
{
if (mic_handle)
- MicCloseAPI(&mic_handle);
+ MicCloseAPI(&mic_handle);
+ mic_handle = NULL;
+
return (0);
}