commit | d863eff90f2820e78da763ca5be9f942dc49675e | [log] [tgz] |
---|---|---|
author | David Williams <david.williams@sonymobile.com> | Mon Nov 19 09:52:16 2012 +0100 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Nov 20 12:27:56 2012 -0800 |
tree | b4e343c70b5f0c15f4cdd22e2232771d8ba7c883 | |
parent | 7013209cdf393b3d958ddd46ed50394349378826 [diff] |
Avoid memory leaks when handling metadata strings Don't duplicate strings when retrieveing metadata from media files. As any requests for metadata strings would pass through the binder, this would cause the reference to the duplicate string to be lost, causing a memory leak as the duplicate would not be freed. Change-Id: I2593733472b1bb589bc502b2c11080f581015bb5