diff options
author | Alfred E. Heggestad <aeh@db.org> | 2016-05-08 11:45:40 +0200 |
---|---|---|
committer | Alfred E. Heggestad <aeh@db.org> | 2016-05-08 11:45:40 +0200 |
commit | 69a0d93071facdd6e7f5abed9f0147516f50abb9 (patch) | |
tree | c850f80a33fbfdaede4c16570eb7f03f51f4d578 | |
parent | 19ac1e6a5e3d302c23cbc7e59bd29457d48d2702 (diff) |
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
-rw-r--r-- | modules/h265/h265.c | 2 |
1 files changed, 0 insertions, 2 deletions
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; } |