[input] Let input_metadata_free zero metadata like the other free functions

This commit is contained in:
ejurgensen 2017-01-27 11:00:29 +01:00
parent c975cf4474
commit 67d0504700

View File

@ -503,6 +503,8 @@ input_metadata_free(struct input_metadata *metadata, int content_only)
if (!content_only)
free(metadata);
else
memset(metadata, 0, sizeof(struct input_metadata));
}
int