[vlc-devel] commit: missing strdup (Geoffroy Couprie )

git version control git at videolan.org
Thu Mar 5 15:26:27 CET 2009


vlc | branch: master | Geoffroy Couprie <geal at videolan.org> | Thu Mar  5 15:24:15 2009 +0100| [867836628fd4f4959aac18f0af819f0c611410fa] | committer: Geoffroy Couprie 

missing strdup

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

 modules/gui/qt4/dialogs/podcast_configuration.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/dialogs/podcast_configuration.cpp b/modules/gui/qt4/dialogs/podcast_configuration.cpp
index 69d0dc9..94836f7 100644
--- a/modules/gui/qt4/dialogs/podcast_configuration.cpp
+++ b/modules/gui/qt4/dialogs/podcast_configuration.cpp
@@ -72,7 +72,7 @@ void PodcastConfigDialog::accept()
         urls +=  ui.podcastList->item(i)->text();
         if( i != ui.podcastList->count()-1 ) urls += "|";
     }
-    const char *psz_urls = qtu( urls );
+    const char *psz_urls = strdup( qtu( urls ) );
     config_PutPsz( p_intf, "podcast-urls", psz_urls );
     vlc_object_t *p_obj = (vlc_object_t*)
                           vlc_object_find_name( p_intf->p_libvlc,




More information about the vlc-devel mailing list