core: Add files to blob list on scan
Signed-off-by: Chloe M. <chloe@mirocom.org>
This commit is contained in:
@@ -66,6 +66,11 @@ stream_destroy(struct data_stream *stmp)
|
||||
return;
|
||||
}
|
||||
|
||||
if (stmp->data == NULL) {
|
||||
return;
|
||||
}
|
||||
|
||||
free(stmp->data);
|
||||
stmp->length = 0;
|
||||
stmp->data = NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user