RSSClient: fix cast
[citadel.git] / citadel / modules / rssclient / serv_rssclient.c
index b4e59452f35d74b4e926cbfb2c18956e9f53dfd2..514ba1afd05b751131d5c3261bb1764ec7c493dc 100644 (file)
@@ -878,7 +878,7 @@ void SerializeRSSClientCfgLine(const CfgLineType *ThisOne, StrBuf *OutputBuffer,
 
 void DeleteRSSClientCfgLine(const CfgLineType *ThisOne, RoomNetCfgLine **data)
 {
-       RSSCfgLine *RSSCfg = (RSSCfgLine*) data;
+       RSSCfgLine *RSSCfg = (RSSCfgLine*) *data;
 
        FreeStrBuf(&RSSCfg->Url);
        free(*data);