]> 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)
committerMichael Stapelberg <michael@stapelberg.de>
Tue, 19 Sep 2017 13:46:24 +0000 (15:46 +0200)
commit5dad79ff34735c85742cfdd34aa31d3039bec838
treed5f4709dd90f255dc1ed71fc977cb3c6539b56e8
parentf1e9da71f075075af2ea597deddaca0a998f976e
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