diff options
author | Denis Loh <denis.loh@gmail.com> | 2009-10-30 18:30:57 +0100 |
---|---|---|
committer | Denis Loh <denis.loh@gmail.com> | 2009-10-30 18:30:57 +0100 |
commit | 4510b4d123a4f62c49c55fa517f15df4fa90ebec (patch) | |
tree | 14ecc25fa32cc8205a6334efacd379655b6e3f91 /upnpcomponents | |
parent | 7d596d673c1918eb962acf296a518ac5e50815fc (diff) | |
download | vdr-plugin-upnp-4510b4d123a4f62c49c55fa517f15df4fa90ebec.tar.gz vdr-plugin-upnp-4510b4d123a4f62c49c55fa517f15df4fa90ebec.tar.bz2 |
Fixed memory leak with device description
Diffstat (limited to 'upnpcomponents')
-rw-r--r-- | upnpcomponents/dlna.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/upnpcomponents/dlna.cpp b/upnpcomponents/dlna.cpp index 0b15cbe..eaa23c1 100644 --- a/upnpcomponents/dlna.cpp +++ b/upnpcomponents/dlna.cpp @@ -232,5 +232,5 @@ const char* cDlna::getDeviceDescription(const char* URLBase){ // UPNP_AVT_CONTROL_URL, // UPnP AVT Control URL // UPNP_AVT_EVENT_URL // UPnP AVT Event URL ); - return description; + return strdup0(*description); }
\ No newline at end of file |