summaryrefslogtreecommitdiffstats
path: root/libhb/hb.c
diff options
context:
space:
mode:
authorRodeo <[email protected]>2015-06-23 22:35:29 +0000
committerRodeo <[email protected]>2015-06-23 22:35:29 +0000
commit293083e5a6c9cff671bcd2060468832d566f55b3 (patch)
tree6f3d825c157166c7edd94ee8f595fa51d11f031f /libhb/hb.c
parent4b36930c67ac7013618b82233222ebfacd18d9ea (diff)
libhb: re-work OpenCL cleanup a bit.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7313 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/hb.c')
-rw-r--r--libhb/hb.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libhb/hb.c b/libhb/hb.c
index 33fe42007..513c27e62 100644
--- a/libhb/hb.c
+++ b/libhb/hb.c
@@ -1635,6 +1635,9 @@ void hb_global_close()
hb_presets_free();
+ /* OpenCL library (dynamically loaded) */
+ hb_ocl_close();
+
/* Find and remove temp folder */
memset( dirname, 0, 1024 );
hb_get_temporary_directory( dirname );