summaryrefslogtreecommitdiff
path: root/src/lib/ecore_audio/ecore_audio_pulse_ml.c
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 /src/lib/ecore_audio/ecore_audio_pulse_ml.c
parent3c167a964b33c7773942eef9491624e6e779450f (diff)
ecore_audio: Fix possible memory leak in pulse main loop integration
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
Diffstat (limited to '')
-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
145 if (gettimeofday(&now, NULL) == -1) 145 if (gettimeofday(&now, NULL) == -1)
146 { 146 {
147 ERR("Failed to get the current time!"); 147 ERR("Failed to get the current time!");
148 free(event);
148 return NULL; 149 return NULL;
149 } 150 }
150 151