Skip to content

Commit 8329b58

Browse files
committed
Free 'key' variable in src/OVAL/oval_sexp.c
1 parent 8e595db commit 8329b58

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/OVAL/oval_sexp.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -831,6 +831,8 @@ static struct oval_sysent *oval_sexp_to_sysent(struct oval_syschar_model *model,
831831
oval_message_set_text(msg, txt);
832832
oval_sysitem_add_message(item, msg);
833833

834+
free(key);
835+
834836
return (NULL);
835837
}
836838

0 commit comments

Comments
 (0)