[vlc-commits] Replace old type utils by new ones.
Hugo Beauzée-Luyssen
git at videolan.org
Tue Apr 21 10:15:48 CEST 2015
npapi-vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon Mar 23 17:40:37 2015 +0100| [d97efe9f8ab0e05a27327613172c533e311100e7] | committer: Hugo Beauzée-Luyssen
Replace old type utils by new ones.
This should help reduce the amount of leaks, as the new npapi::Variant
class handles the memory management automatically.
This also fixes at least a memory leak when converting from string to
anything else
> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=d97efe9f8ab0e05a27327613172c533e311100e7
---
npapi/npruntime/npolibvlc.cpp | 240 ++++++++++++++++++++--------------------
npapi/npruntime/npolibvlc.h | 2 +-
npapi/npruntime/nporuntime.cpp | 21 ----
npapi/npruntime/nporuntime.h | 65 -----------
npapi/utils.hpp | 213 +++++++++++++++++++++++++++++++----
5 files changed, 312 insertions(+), 229 deletions(-)
Diff: http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commitdiff;h=d97efe9f8ab0e05a27327613172c533e311100e7
More information about the vlc-commits
mailing list