Document the need to free vir*Ptr objects

https://bugzilla.redhat.com/show_bug.cgi?id=994731
This commit is contained in:
Ján Tomko 2014-07-08 10:27:51 +02:00
parent a3a2080eac
commit 3701b51984

View File

@ -159,6 +159,10 @@
</ul>
</li>
</ul>
<p>Note: functions returning vir*Ptr (like the virDomainLookup functions)
allocate memory which needs to be freed by the caller by the corresponding
vir*Free function (e.g. virDomainFree for a virDomainPtr object).
</p>
<p> For more in-depth details of the storage related APIs see
<a href="storage.html">the storage management page</a>.
</p>