diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2019-05-17 20:28:59 +0200 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2019-05-19 10:20:23 +1000 |
commit | 42746c5d56a6e31a05789f65f335539698aa7535 (patch) | |
tree | 73404121d3f108b1a37c52ba4f6ddc52e4d3372f /media-plugins/alsa-plugins | |
parent | dev-tex/biber: remove unused patch (diff) | |
download | gentoo-42746c5d56a6e31a05789f65f335539698aa7535.tar.gz gentoo-42746c5d56a6e31a05789f65f335539698aa7535.tar.bz2 gentoo-42746c5d56a6e31a05789f65f335539698aa7535.zip |
media-plugins/alsa-plugins: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/12035
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Signed-off-by: Michael Palimaka <kensington@gentoo.org>
Diffstat (limited to 'media-plugins/alsa-plugins')
-rw-r--r-- | media-plugins/alsa-plugins/files/alsa-plugins-1.1.7-double_free_fix.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/media-plugins/alsa-plugins/files/alsa-plugins-1.1.7-double_free_fix.patch b/media-plugins/alsa-plugins/files/alsa-plugins-1.1.7-double_free_fix.patch deleted file mode 100644 index 9b3a81599b39..000000000000 --- a/media-plugins/alsa-plugins/files/alsa-plugins-1.1.7-double_free_fix.patch +++ /dev/null @@ -1,34 +0,0 @@ -From a4e7e1282c57a2f4e83afe9a4008042d8b4c5bb9 Mon Sep 17 00:00:00 2001 -From: Jaroslav Kysela <perex@perex.cz> -Date: Tue, 23 Oct 2018 09:32:46 +0200 -Subject: [PATCH] a52_close: set slave to NULL to avoid double pcm free in - open fcn - -Signed-off-by: Jaroslav Kysela <perex@perex.cz> ---- - a52/pcm_a52.c | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - -diff --git a/a52/pcm_a52.c b/a52/pcm_a52.c -index e431fd0..b005bc2 100644 ---- a/a52/pcm_a52.c -+++ b/a52/pcm_a52.c -@@ -654,10 +654,13 @@ static int a52_poll_revents(snd_pcm_ioplug_t *io, struct pollfd *pfd, - static int a52_close(snd_pcm_ioplug_t *io) - { - struct a52_ctx *rec = io->private_data; -+ snd_pcm_t *slave = rec->slave; - - a52_free(rec); -- if (rec->slave) -- return snd_pcm_close(rec->slave); -+ if (slave) { -+ rec->slave = NULL; -+ return snd_pcm_close(slave); -+ } - return 0; - } - --- -1.7.11.7 - |