diff options
author | Lovell Fuller <github@lovell.info> | 2018-01-06 10:45:02 +0000 |
---|---|---|
committer | Lovell Fuller <github@lovell.info> | 2018-01-06 11:07:07 +0000 |
commit | 59f925e4c54a4f0c17a401cd88f31dee6f22d618 (patch) | |
tree | b748b503d41cf181e8b767ef121e3c55de38f62e | |
parent | 2cbb0f7bf56666187993bd7ba688bf82d0c9a5c7 (diff) | |
download | librsvg-59f925e4c54a4f0c17a401cd88f31dee6f22d618.tar.gz |
Ensure GFile is unreferenced to avoid filename memory leak
See commit 475764f
-rw-r--r-- | rsvg-base-file-util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rsvg-base-file-util.c b/rsvg-base-file-util.c index 366fc4a4..efef2dfa 100644 --- a/rsvg-base-file-util.c +++ b/rsvg-base-file-util.c @@ -116,6 +116,7 @@ rsvg_handle_new_from_file (const gchar * file_name, GError ** error) } g_free (base_uri); + g_object_unref (file); return handle; } |