Skip to content

Commit eebed6c

Browse files
committed
Fix Coverity Scan bug
1 parent 951abb3 commit eebed6c

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed
File renamed without changes.

src/zone.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ void zone_close_file(
267267
if (file->name && file->name != not_a_file)
268268
free((char *)file->name);
269269
file->name = NULL;
270-
if (file->path && file->name != not_a_file)
270+
if (file->path && file->path != not_a_file)
271271
free((char *)file->path);
272272
file->path = NULL;
273273
if (file->handle)

0 commit comments

Comments
 (0)