Fixed memory leak
authorzev <zev@radensolutions.com>
Tue, 19 Jul 2016 13:55:17 +0000 (16:55 +0300)
committerzev <zev@radensolutions.com>
Tue, 19 Jul 2016 14:10:28 +0000 (17:10 +0300)
src/agent/core/policy.cpp

index fd7e413..fe2dc72 100644 (file)
@@ -406,6 +406,7 @@ void UpdatePolicyInventory()
             }
             UnregisterPolicy(guid);
          }
+         DBFreeResult(hResult);
       }
    }
 }