-
Daniel P. Berrangé authored
To protect against callers invoking Free() twice on objects (and thus causing double-free at the C level), set the 'ptr' field to nil. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
c861e33e
To protect against callers invoking Free() twice on objects
(and thus causing double-free at the C level), set the 'ptr'
field to nil.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>