]> git.sur5r.net Git - i3/i3/commit
Prevent freeing of uninitialized pointer
authorOrestis Floros <orestisf1993@gmail.com>
Sat, 16 Sep 2017 20:53:31 +0000 (23:53 +0300)
committerOrestis Floros <orestisf1993@gmail.com>
Sat, 16 Sep 2017 20:54:12 +0000 (23:54 +0300)
commit205dd7609695f3808f2cff0167ec836a7d66ec17
tree606eed48ef387e812ec38a4a70acf75bed8cc0c6
parent5062dd61bc991988a146f298f4b8ed4ea81290a8
Prevent freeing of uninitialized pointer

> variable 'buf' is used uninitialized whenever 'if' condition is true

Note: freeing a NULL pointer is fine.
src/tree.c