[vlc-commits] Remove module_hold and module_release

Rémi Denis-Courmont git at videolan.org
Mon Aug 15 19:45:27 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Aug 15 19:35:51 2011 +0300| [6e70470eb262951fda0963b91c3668d1982c1cfc] | committer: Rémi Denis-Courmont

Remove module_hold and module_release

Modules are created at initialization and destroyed at exit (after all
VLC threads are terminated) There is no need to count references.

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

 include/vlc_modules.h                              |    2 -
 modules/gui/macosx/intf.m                          |    1 -
 modules/gui/macosx/simple_prefs.m                  |    3 +-
 .../gui/qt4/components/complete_preferences.cpp    |   11 ----
 modules/gui/qt4/components/extended_panels.cpp     |    2 -
 modules/gui/qt4/components/open_panels.cpp         |    1 -
 modules/gui/qt4/components/preferences_widgets.cpp |    1 -
 src/libvlccore.sym                                 |    2 -
 src/misc/xml.c                                     |    2 -
 src/modules/entry.c                                |   16 +------
 src/modules/modules.c                              |   53 +++-----------------
 src/modules/modules.h                              |    3 +-
 src/video_output/vout_intf.c                       |    2 -
 13 files changed, 11 insertions(+), 88 deletions(-)

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


More information about the vlc-commits mailing list