diff options
author | Daniel Willmann <d.willmann@samsung.com> | 2013-04-19 13:10:49 +0100 |
---|---|---|
committer | Daniel Willmann <d.willmann@samsung.com> | 2013-04-19 13:43:52 +0100 |
commit | fe292a34fba89e40287ba8b4d364edbe5d87ff3a (patch) | |
tree | aaa39fa40a726c1540656226fbe94cdd89ad3fc5 | |
parent | 3c167a964b33c7773942eef9491624e6e779450f (diff) | |
download | efl-fe292a34fba89e40287ba8b4d364edbe5d87ff3a.tar.gz |
ecore_audio: Fix possible memory leak in pulse main loop integration
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
-rw-r--r-- | src/lib/ecore_audio/ecore_audio_pulse_ml.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ecore_audio/ecore_audio_pulse_ml.c b/src/lib/ecore_audio/ecore_audio_pulse_ml.c index 67dd96b132..b9ce552f18 100644 --- a/src/lib/ecore_audio/ecore_audio_pulse_ml.c +++ b/src/lib/ecore_audio/ecore_audio_pulse_ml.c @@ -145,6 +145,7 @@ _ecore_pa_time_new(pa_mainloop_api *api, const struct timeval *tv, pa_time_event if (gettimeofday(&now, NULL) == -1) { ERR("Failed to get the current time!"); + free(event); return NULL; } |