aboutsummaryrefslogtreecommitdiff
path: root/lib/libXDAAP
diff options
context:
space:
mode:
authorspiff <spiff@xbmc.org>2011-11-05 11:30:44 +0100
committerspiff <spiff@xbmc.org>2011-11-05 11:32:10 +0100
commitb979f382336e7ee0293f15fbc3844bbc7ca47989 (patch)
tree2d27a94bb0f22e12750dacae9fed346b6d7b5efe /lib/libXDAAP
parent1b434598ce76634f0beaa91872fdebd6b41d150f (diff)
fixed: crash when accessing rhytmbox dapp shares
this just fixes the crash, they still don't work properly. see ticket #12178
Diffstat (limited to 'lib/libXDAAP')
-rw-r--r--lib/libXDAAP/libXDAAP.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libXDAAP/libXDAAP.c b/lib/libXDAAP/libXDAAP.c
index ddec6e5889..50ddcd43dd 100644
--- a/lib/libXDAAP/libXDAAP.c
+++ b/lib/libXDAAP/libXDAAP.c
@@ -606,6 +606,8 @@ static int Priv_DAAP_ClientHost_GetDatabaseItems(DAAP_SClientHost *pCHThis,
HTTP_RETURN_IF_FAILED(httpRes);
items.h.expecting = QUERY_GENERICLISTING;
+ items.returnedcount = 0;
+ items.listitems = 0;
dmap_parseProtocolData(httpRes->contentlen, httpRes->data,
(protoParseResult*)&items);