X-Git-Url: https://git.piment-noir.org/?p=deb_ffmpeg.git;a=blobdiff_plain;f=ffmpeg%2Flibavdevice%2Fpulse_audio_common.c;h=40466414792d5b45572970ecc063b855435874f2;hp=5a2568b82bed30969658bb187adbfd765da1e106;hb=f6fa7814ccfe3e76514b36cf04f5cd3cb657c8cf;hpb=2ba45a602cbfa7b771effba9b11bb4245c21bc00 diff --git a/ffmpeg/libavdevice/pulse_audio_common.c b/ffmpeg/libavdevice/pulse_audio_common.c index 5a2568b..4046641 100644 --- a/ffmpeg/libavdevice/pulse_audio_common.c +++ b/ffmpeg/libavdevice/pulse_audio_common.c @@ -163,8 +163,8 @@ static void pulse_add_detected_device(PulseAudioDeviceList *info, return; fail: - av_free(new_device->device_description); - av_free(new_device->device_name); + av_freep(&new_device->device_description); + av_freep(&new_device->device_name); av_free(new_device); }