commit | efd7501d535fb165792013763027cf50a5b37e08 | [log] [tgz] |
---|---|---|
author | Dima Zavin <dima@android.com> | Wed Mar 14 23:12:40 2012 -0700 |
committer | Dima Zavin <dima@android.com> | Wed Mar 14 23:17:11 2012 -0700 |
tree | 5b081d65ede019831739e85ee0adf038178f24fe | |
parent | 86bfbe3cae1f5e480ba9756ec7404fa4d5a7f2c9 [diff] |
cutils: str_parms: when deleting entry, need to also remove key When removing one entry, we can't just remove it from the map since key will not be freed. So, instead, search through the map for the key and free it once it is found. Change-Id: Id745c166a4acc5ea25f6d6cdbfe4f8fbc21cbbb3 Reported-by: Xin Qian <xqian@marvell.com> Signed-off-by: Dima Zavin <dima@android.com>