rgbkrk / libvirt-go

[DEPRECATED] Go bindings for libvirt
https://github.com/libvirt/libvirt-go
MIT License
166 stars 50 forks source link

domain: fix missing C.free() #95

Closed vincentbernat closed 8 years ago

vincentbernat commented 8 years ago

Each use of C.CString() allocates a new buffer that should be released after use. This was the only place this wasn't done.