view ci/load-snd-dummy.sh @ 22178:6666ace75ef5 v8.2.1638

patch 8.2.1638: leaking memory when popup filter function can't be called Commit: https://github.com/vim/vim/commit/8e9be208ea58149c4e522166a6194da18a2eced7 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Sep 8 22:55:26 2020 +0200 patch 8.2.1638: leaking memory when popup filter function can't be called Problem: Leaking memory when popup filter function can't be called. Solution: Don't return too soon.
author Bram Moolenaar <Bram@vim.org>
date Tue, 08 Sep 2020 23:00:04 +0200
parents 3a7017ee1161
children
line wrap: on
line source

#!/bin/bash
set -e

if ! modprobe snd-dummy; then
    # snd-dummy is contained in linux-modules-extra (if exists)
    apt-get install -yq --no-install-suggests --no-install-recommends "linux-modules-extra-$(uname -r)"
    modprobe snd-dummy
fi