From 69a0d93071facdd6e7f5abed9f0147516f50abb9 Mon Sep 17 00:00:00 2001 From: "Alfred E. Heggestad" Date: Sun, 8 May 2016 11:45:40 +0200 Subject: h265: remove call to x265_cleanup, fix crash unloading the h265.so module crashes on OpenBSD, inside the libx265.* code. this could be related to linking to both libavcodec and libx265, where also libavcodec links to libx265. the OpenBSD packages supply both static (.a) and shared (.so) libraries, and perhaps there is a problem here that the static version is picked during link time. running baresip+h265.so with valgrind gives more than 1000 warnings so I doubt that it is free of memory leaks. this commit is a work-around for #106 (fixes #106) https://github.com/alfredh/baresip/issues/106 --- modules/h265/h265.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'modules/h265/h265.c') diff --git a/modules/h265/h265.c b/modules/h265/h265.c index 8700eca..173da9f 100644 --- a/modules/h265/h265.c +++ b/modules/h265/h265.c @@ -54,8 +54,6 @@ static int module_close(void) { vidcodec_unregister(&h265); - x265_cleanup(); - return 0; } -- cgit v1.2.3