DO NOT MERGE - fix: memory leak

free momory for str_parms to prevent memory leak.

cherry-pcik from aosp c357157e28

Bug: 18798194.

Change-Id: I7df5567d665554dbd4646c881f0f48b0c568c5fe
This commit is contained in:
soon1.choi 2014-12-18 16:03:43 +09:00 committed by Eric Laurent
parent 4b280b0cd0
commit 781bb3f72e

View file

@ -1026,6 +1026,8 @@ static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs)
}
}
str_parms_destroy(parms);
return 0;
}