summaryrefslogtreecommitdiff
path: root/src/lib/ecore_audio
diff options
context:
space:
mode:
authorkabeer khan <kabeer.khan@samsung.com>2014-12-10 11:19:18 +0100
committerCedric BAIL <cedric@osg.samsung.com>2014-12-10 11:19:23 +0100
commite319e702a1262ab5a78eda2bb3eadcb8a2061ca5 (patch)
treefd61cb4d54b521708783db841a602661c52b1bd7 /src/lib/ecore_audio
parent4abdd758f081d6567c067cc4614afd432b3f0b31 (diff)
ecore_audio: fix memory leak in ecore_audio_pulse.
Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com> @fix Reviewers: devilhorns, cedric Reviewed By: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1761 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/lib/ecore_audio')
-rw-r--r--src/lib/ecore_audio/ecore_audio_pulse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ecore_audio/ecore_audio_pulse.c b/src/lib/ecore_audio/ecore_audio_pulse.c
index 0db00ccf4a..099491c1fd 100644
--- a/src/lib/ecore_audio/ecore_audio_pulse.c
+++ b/src/lib/ecore_audio/ecore_audio_pulse.c
@@ -148,6 +148,7 @@ _ecore_pa_time_new(pa_mainloop_api *api, const struct timeval *tv, pa_time_event
148 if (gettimeofday(&now, NULL) == -1) 148 if (gettimeofday(&now, NULL) == -1)
149 { 149 {
150 ERR("Failed to get the current time!"); 150 ERR("Failed to get the current time!");
151 free(event);
151 return NULL; 152 return NULL;
152 } 153 }
153 154