Mercurial > vim
view src/proto/sound.pro @ 30302:6a1ed021a0c0 v9.0.0487
patch 9.0.0487: using freed memory with combination of closures
Commit: https://github.com/vim/vim/commit/acd6b9976bd939035025a16ceb4213a680827927
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Sep 17 16:27:39 2022 +0100
patch 9.0.0487: using freed memory with combination of closures
Problem: Using freed memory with combination of closures.
Solution: Do not use a partial after it has been freed through the
funcstack.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 17 Sep 2022 17:30:04 +0200 |
parents | 10696f279e20 |
children | 71137f73c94d |
line wrap: on
line source
/* sound.c */ int has_any_sound_callback(void); int has_sound_callback_in_queue(void); void invoke_sound_callback(void); void f_sound_playevent(typval_T *argvars, typval_T *rettv); void f_sound_playfile(typval_T *argvars, typval_T *rettv); void f_sound_stop(typval_T *argvars, typval_T *rettv); void f_sound_clear(typval_T *argvars, typval_T *rettv); void sound_free(void); /* vim: set ft=c : */