diff options
author | You Kim <you.kim72@gmail.com> | 2013-09-12 20:48:08 +0900 |
---|---|---|
committer | You Kim <you.kim72@gmail.com> | 2013-09-12 20:48:08 +0900 |
commit | db358afc965d9bfb703953ac004275428a7cda64 (patch) | |
tree | 395f94ebfe8708da02e36fd57e01380cac3e54b4 /services | |
parent | d6ca2e8bc17db104f0421ae1e7e0799488b96d70 (diff) | |
download | frameworks_av-db358afc965d9bfb703953ac004275428a7cda64.zip frameworks_av-db358afc965d9bfb703953ac004275428a7cda64.tar.gz frameworks_av-db358afc965d9bfb703953ac004275428a7cda64.tar.bz2 |
AudioPolicyService: malloc/delete pair
Change-Id: I75cd44ac0caccda9148faaa052c9e7a0c06d46d1
Signed-off-by: You Kim <you.kim72@gmail.com>
Diffstat (limited to 'services')
-rw-r--r-- | services/audioflinger/AudioPolicyService.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/audioflinger/AudioPolicyService.cpp b/services/audioflinger/AudioPolicyService.cpp index 2706880..3904514 100644 --- a/services/audioflinger/AudioPolicyService.cpp +++ b/services/audioflinger/AudioPolicyService.cpp @@ -1206,7 +1206,7 @@ effect_param_t *AudioPolicyService::loadEffectParameter(cnode *root) return fx_param; error: - delete fx_param; + free(fx_param); return NULL; } |