[vlc-commits] XML: return attribute value as const

Rémi Denis-Courmont git at videolan.org
Sat Jan 22 10:21:58 CET 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jan 22 11:20:57 2011 +0200| [0e17b717feed5b870b4fd1707399bf1e3688e7fe] | committer: Rémi Denis-Courmont

XML: return attribute value as const

This simplifies error and memory handling.
A few memory leaks were fixed.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0e17b717feed5b870b4fd1707399bf1e3688e7fe
---

 include/vlc_xml.h                       |   13 +---
 modules/codec/subsusf.c                 |  108 +++++++++++++------------------
 modules/demux/playlist/b4s.c            |   32 +++-------
 modules/demux/playlist/itml.c           |   16 +----
 modules/demux/playlist/podcast.c        |   38 +++--------
 modules/demux/playlist/qtl.c            |   61 ++++++++----------
 modules/demux/playlist/shoutcast.c      |   93 +++++++++++---------------
 modules/demux/playlist/xspf.c           |   53 ++++-----------
 modules/gui/skins2/parser/xmlparser.cpp |   14 +---
 modules/misc/lua/libs/xml.c             |   14 +---
 modules/misc/quartztext.c               |   29 +++------
 modules/misc/text_renderer.h            |   38 ++++-------
 modules/misc/xml/libxml.c               |   17 +++--
 modules/video_filter/rss.c              |   13 +---
 share/lua/modules/simplexml.lua         |    6 +-
 15 files changed, 199 insertions(+), 346 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=0e17b717feed5b870b4fd1707399bf1e3688e7fe


More information about the vlc-commits mailing list