diff options
Diffstat (limited to 'src/dictzip-input-stream.c')
-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); |