diff options
author | Richard Hughes <richard@hughsie.com> | 2015-05-26 13:12:25 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2015-05-26 13:12:25 +0100 |
commit | 121e06d1aafd07118ee5e900623eca5e39cf5d40 (patch) | |
tree | 389419b09e1ec78939b24d347daf8c79f2c8017d | |
parent | 62fd1cb484908f3a8bc6c4fa6ee4ae6a3e35d386 (diff) | |
parent | 2a696f26a939f4cbc7ed5044da14d089820f9801 (diff) | |
download | colord-121e06d1aafd07118ee5e900623eca5e39cf5d40.tar.gz |
Merge pull request #13 from LebedevRI/cd-context-fix-error-ctx-leak
Do not leak GError when using the LCMS context
-rw-r--r-- | lib/colord/cd-context-lcms.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/colord/cd-context-lcms.c b/lib/colord/cd-context-lcms.c index 45fcc87..9171e53 100644 --- a/lib/colord/cd-context-lcms.c +++ b/lib/colord/cd-context-lcms.c @@ -168,6 +168,7 @@ cd_context_lcms_free (gpointer ctx) error_ctx = cmsGetContextUserData (ctx); g_clear_error (error_ctx); + g_free (error_ctx); cmsUnregisterPluginsTHR (ctx); cmsDeleteContext (ctx); |