summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@android.com>2014-03-18 17:31:25 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-03-18 17:31:26 +0000
commit77658a069c81a0d5b4a1b81443b470a3ea64cab0 (patch)
tree3e08958e7ac8f848823003064713cb731a05b5e9 /services
parent64727dd7c8513b6c9ddcce2f4b305618bb76121c (diff)
parentdb358afc965d9bfb703953ac004275428a7cda64 (diff)
downloadframeworks_av-77658a069c81a0d5b4a1b81443b470a3ea64cab0.zip
frameworks_av-77658a069c81a0d5b4a1b81443b470a3ea64cab0.tar.gz
frameworks_av-77658a069c81a0d5b4a1b81443b470a3ea64cab0.tar.bz2
Merge "AudioPolicyService: malloc/delete pair"
Diffstat (limited to 'services')
-rw-r--r--services/audioflinger/AudioPolicyService.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/audioflinger/AudioPolicyService.cpp b/services/audioflinger/AudioPolicyService.cpp
index 646a317..a37272d 100644
--- a/services/audioflinger/AudioPolicyService.cpp
+++ b/services/audioflinger/AudioPolicyService.cpp
@@ -1301,7 +1301,7 @@ effect_param_t *AudioPolicyService::loadEffectParameter(cnode *root)
return fx_param;
error:
- delete fx_param;
+ free(fx_param);
return NULL;
}