stats: always free log
authorLuis de Bethencourt <luisbg@osg.samsung.com>
Tue, 20 Oct 2015 12:46:24 +0000 (13:46 +0100)
committerLuis de Bethencourt <luisbg@osg.samsung.com>
Wed, 21 Oct 2015 10:19:14 +0000 (11:19 +0100)
commit587b95a8574eea0c0e0e93c1bf2d1c6c9d741ec4
treed86095af196289f5f004112feac02ee6b289a19c
parent45f0f354ac34618d6f6adf20b0bffcf14a3f0a29
stats: always free log

We always want to free the open file log if fopen() succeeded. Independently
of if fgets() succeeds or fails.

CID 1326055

https://bugzilla.gnome.org/show_bug.cgi?id=756864
tools/gst-stats.c