summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Willmann <d.willmann@samsung.com>2013-04-19 13:10:49 +0100
committerDaniel Willmann <d.willmann@samsung.com>2013-04-19 13:43:52 +0100
commitfe292a34fba89e40287ba8b4d364edbe5d87ff3a (patch)
treeaaa39fa40a726c1540656226fbe94cdd89ad3fc5
parent3c167a964b33c7773942eef9491624e6e779450f (diff)
downloadefl-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.c1
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;
}