diff options
Diffstat (limited to 'src/main/extractor.c')
-rw-r--r-- | src/main/extractor.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/extractor.c b/src/main/extractor.c index f7b9cb9..bfee6d5 100644 --- a/src/main/extractor.c +++ b/src/main/extractor.c | |||
@@ -2679,6 +2679,8 @@ ask_in_process_plugin (struct EXTRACTOR_PluginList *plugin, void *shm_ptr, EXTRA | |||
2679 | { | 2679 | { |
2680 | plugin->shm_ptr = shm_ptr; | 2680 | plugin->shm_ptr = shm_ptr; |
2681 | extract_reply = plugin->extract_method (plugin, proc, proc_cls); | 2681 | extract_reply = plugin->extract_method (plugin, proc, proc_cls); |
2682 | /* Don't leak errno from the extract method */ | ||
2683 | errno = 0; | ||
2682 | if (extract_reply == 1) | 2684 | if (extract_reply == 1) |
2683 | plugin->seek_request = -1; | 2685 | plugin->seek_request = -1; |
2684 | } | 2686 | } |