fixed memory leaks, added cleanup code, added valgrind scripts to test binaries
This commit is contained in:
@@ -125,7 +125,7 @@ void _writeDevicesToXml(const AQH_STORAGE *sto, GWEN_XMLNODE *rootNode)
|
||||
|
||||
nElems=GWEN_XMLNode_new(GWEN_XMLNodeTypeTag, AQH_STORAGE_XML_ELEMENTNAME_DEVICES);
|
||||
|
||||
elem=AQH_Device_List_First(sto->roomList);
|
||||
elem=AQH_Device_List_First(sto->deviceList);
|
||||
while(elem) {
|
||||
GWEN_XMLNODE *nElem;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user