OSDN Git Service
(root)
/
android-x86
/
hardware-libhardware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
719b842
)
fix: memory leak
author
soon1.choi
<soon1.choi@lge.com>
Thu, 18 Dec 2014 07:03:43 +0000
(16:03 +0900)
committer
soon1.choi
<soon1.choi@lge.com>
Thu, 18 Dec 2014 07:03:43 +0000
(16:03 +0900)
free momory for str_parms to prevent memory leak.
Change-Id: I7df5567d665554dbd4646c881f0f48b0c568c5fe
modules/usbaudio/audio_hw.c
patch
|
blob
|
history
diff --git
a/modules/usbaudio/audio_hw.c
b/modules/usbaudio/audio_hw.c
index
664a753
..
35f7705
100644
(file)
--- a/
modules/usbaudio/audio_hw.c
+++ b/
modules/usbaudio/audio_hw.c
@@
-1037,6
+1037,8
@@
static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs)
}
}
+ str_parms_destroy(parms);
+
return 0;
}