diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2013-07-18 19:47:07 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2013-07-18 19:47:07 +0200 |
commit | f8a839511452d7e94c2f9c445b1a4ab8eafd66c6 (patch) | |
tree | ba351ad029e74061fc058e631f1f7c3ec642eb8d | |
parent | 1df702127608761b12aa8a74d141747cf405069f (diff) | |
download | tdv-f8a839511452d7e94c2f9c445b1a4ab8eafd66c6.tar.gz tdv-f8a839511452d7e94c2f9c445b1a4ab8eafd66c6.tar.xz tdv-f8a839511452d7e94c2f9c445b1a4ab8eafd66c6.zip |
Fix another error path
-rw-r--r-- | src/dictzip-input-stream.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dictzip-input-stream.c b/src/dictzip-input-stream.c index e3c0d7c..f539790 100644 --- a/src/dictzip-input-stream.c +++ b/src/dictzip-input-stream.c @@ -335,7 +335,9 @@ static void dictzip_input_stream_finalize (GObject *gobject) { DictzipInputStreamPrivate *priv = DICTZIP_INPUT_STREAM (gobject)->priv; - g_object_unref (priv->file_info); + + if (priv->file_info) + g_object_unref (priv->file_info); g_free (priv->chunks); g_free (priv->input_buffer); inflateEnd (&priv->zs); |