summaryrefslogtreecommitdiff
path: root/upnpcomponents
diff options
context:
space:
mode:
authorDenis Loh <denis.loh@gmail.com>2009-10-30 18:30:57 +0100
committerDenis Loh <denis.loh@gmail.com>2009-10-30 18:30:57 +0100
commit4510b4d123a4f62c49c55fa517f15df4fa90ebec (patch)
tree14ecc25fa32cc8205a6334efacd379655b6e3f91 /upnpcomponents
parent7d596d673c1918eb962acf296a518ac5e50815fc (diff)
downloadvdr-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.cpp2
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