Fix memory leak which also causes strange flickering in the audio
[dcpomatic.git] / cscript
diff --git a/cscript b/cscript
index 052aa6c7c645b654109daf6b1138a45933630ecd..3fe9275fef7c1ed0d77eb7056567a7053637e06c 100644 (file)
--- a/cscript
+++ b/cscript
@@ -375,8 +375,8 @@ def dependencies(target, options):
             (target.platform == 'osx' and target.bits == 64) or
             (target.platform == 'windows')) else {}
 
-    deps.append(('libdcp', '9a8faac', cpp_lib_options))
-    deps.append(('libsub', '8da829d', cpp_lib_options))
+    deps.append(('libdcp', '5346d1c', cpp_lib_options))
+    deps.append(('libsub', '788ce6e', cpp_lib_options))
     deps.append(('leqm-nrt', 'carl'))
     deps.append(('rtaudio', 'carl'))
     # We get our OpenSSL libraries from the environment, but we
@@ -392,7 +392,7 @@ def dependencies(target, options):
 option_defaults = { "gui": True, "variant": None }
 
 def configure_options(target, options):
-    opt = ''
+    opt = ' --warnings-are-errors'
 
     if not (target.platform == 'linux' and target.distro == 'ubuntu' and target.version == '18.04'):
         # Currently we only build tests on Ubuntu 18.04