We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9f83ba0 + 8359208 commit cd310d8Copy full SHA for cd310d8
1 file changed
src/OVAL/probes/probe/icache.c
@@ -552,9 +552,11 @@ int probe_item_collect(struct probe_ctx *ctx, SEXP_t *item)
552
memcheck_ret = probe_cobj_memcheck(cobj_itemcnt, ctx->max_mem_ratio);
553
if (memcheck_ret == -1) {
554
dE("Failed to check available memory");
555
+ SEXP_free(item);
556
return -1;
557
}
558
if (memcheck_ret == 1) {
559
560
561
/*
562
* Don't set the message again if the collected object is
0 commit comments