commit | caeddc7236a41bc51e60d54f5fa0e67cddd7aba6 | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Mon Mar 29 13:45:18 2010 -0700 |
committer | Mathias Agopian <mathias@google.com> | Mon Mar 29 13:45:18 2010 -0700 |
tree | b84d3fb2486cbc8c0a1a826617fdf1cb28eb2587 | |
parent | afa2eac17aa5b23af5c89a8542142a47fe8c9914 [diff] |
fix [2542425] memory leak during video recording Vector::sort() is using _do_copy() incorrectly; _do_copy() calls the copy constructor, not the assignment operator, so we need to destroy the "destination" before copying the item. Change-Id: Iaeeac808fa5341a7d219edeba4aa63d44f31473c