Skip to content

Commit 3341b53

Browse files
committed
Remove duplicit "oscap_strdup" from "oval_sysent_set_value" call.
1 parent 48551f8 commit 3341b53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/OVAL/oval_sysEnt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ struct oval_sysent *oval_sysent_clone(struct oval_syschar_model *new_model, stru
7777

7878
char *old_value = oval_sysent_get_value(old_item);
7979
if (old_value) {
80-
oval_sysent_set_value(new_item, oscap_strdup(old_value));
80+
oval_sysent_set_value(new_item, old_value);
8181
}
8282

8383
char *old_name = oval_sysent_get_name(old_item);

0 commit comments

Comments
 (0)