X Tutup
Skip to content

Commit fe819f5

Browse files
committed
shared/format-table: fix invalid free
Coverity CID#1458108.
1 parent d0e18bb commit fe819f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shared/format-table.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1763,7 +1763,7 @@ static const char *table_data_format(Table *t, TableData *d, bool avoid_uppercas
17631763
}
17641764

17651765
case TABLE_MODE: {
1766-
_cleanup_free_ char *p;
1766+
_cleanup_free_ char *p = NULL;
17671767

17681768
if (d->mode == MODE_INVALID)
17691769
return "n/a";

0 commit comments

Comments
 (0)
X Tutup