Skip to content

Commit 2f5331f

Browse files
authored
Merge pull request #1237 from jan-cerny/supress
Supress a coverity false positive
2 parents baa2bb8 + d6006ce commit 2f5331f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/OVAL/probes/independent/textfilecontent54.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,7 @@ static int process_file(const char *prefix, const char *path, const char *file,
354354
free(whole_path);
355355
free(whole_path_with_prefix);
356356

357+
/* coverity[leaked_storage] - substrs is not leaked */
357358
return ret;
358359
}
359360

0 commit comments

Comments
 (0)