diff options
author | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2017-03-04 04:44:13 +0200 |
---|---|---|
committer | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2017-03-04 04:44:13 +0200 |
commit | 77348e85b96b78ef330223309fdfbab94de9cf4c (patch) | |
tree | 7d65ca034bcced5456668d5cabd0c39aacfe503e | |
parent | d634497fc4054617af794f75edcd15cee73116a6 (diff) | |
download | metacity-77348e85b96b78ef330223309fdfbab94de9cf4c.tar.gz |
libmetacity: fix memory leak
-rw-r--r-- | libmetacity/meta-css-provider.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libmetacity/meta-css-provider.c b/libmetacity/meta-css-provider.c index 544d9340..83225584 100644 --- a/libmetacity/meta-css-provider.c +++ b/libmetacity/meta-css-provider.c @@ -230,6 +230,9 @@ meta_css_provider_finalize (GObject *object) provider = META_CSS_PROVIDER (object); + g_clear_pointer (&provider->name, g_free); + g_clear_pointer (&provider->variant, g_free); + if (provider->resource) { g_resources_unregister (provider->resource); |