aboutsummaryrefslogtreecommitdiffstats
path: root/demos/engines/zencod/hw_zencod.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/engines/zencod/hw_zencod.c')
-rw-r--r--demos/engines/zencod/hw_zencod.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/demos/engines/zencod/hw_zencod.c b/demos/engines/zencod/hw_zencod.c
index 0b72217465..773674f444 100644
--- a/demos/engines/zencod/hw_zencod.c
+++ b/demos/engines/zencod/hw_zencod.c
@@ -623,9 +623,7 @@ static int zencod_init(ENGINE *e)
return 1;
err:
- if (zencod_dso) {
- DSO_free(zencod_dso);
- }
+ DSO_free(zencod_dso);
zencod_dso = NULL;
ptr_zencod_bytes2bits = NULL;
ptr_zencod_bits2bytes = NULL;