Diff options
authorChristian Hesse <mail@eworm.de>
committerJason A. Donenfeld <Jason@zx2c4.com>
commit
parent
tree
download
ui-repolist: initialize char *buf to NULL
readfile() can fail if the agefile is not readable. Make sure free() does not free an ininitialized string. Signed-off-by: Christian Hesse <mail@eworm.de>
-rw-r--r--ui-repolist.c2
1 file changed, 1 insertion, 1 deletion