Explorar el Código

fix a memleak

Julius Pfrommer hace 9 años
padre
commit
353e62c797
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/ua_types.c

+ 1 - 1
src/ua_types.c

@@ -245,7 +245,7 @@ static void ExtensionObject_deleteMembers(UA_ExtensionObject *p, const UA_DataTy
     case UA_EXTENSIONOBJECT_DECODED:
         if(!p->content.decoded.data)
             break;
-        UA_deleteMembers(p->content.decoded.data, p->content.decoded.type);
+        UA_delete(p->content.decoded.data, p->content.decoded.type);
         p->content.decoded.data = NULL;
         p->content.decoded.type = NULL;
         break;