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 283a10f..1931f7a 100644 --- a/src/main/extractor.c +++ b/src/main/extractor.c | |||
@@ -851,6 +851,8 @@ EXTRACTOR_plugin_add (struct EXTRACTOR_PluginList * prev, | |||
851 | return prev; | 851 | return prev; |
852 | } | 852 | } |
853 | result = calloc (1, sizeof (struct EXTRACTOR_PluginList)); | 853 | result = calloc (1, sizeof (struct EXTRACTOR_PluginList)); |
854 | if (result == NULL) | ||
855 | return prev; | ||
854 | result->next = prev; | 856 | result->next = prev; |
855 | result->short_libname = strdup (library); | 857 | result->short_libname = strdup (library); |
856 | if (result->short_libname == NULL) | 858 | if (result->short_libname == NULL) |