util: buffer: Remove misleading AUTOPTR func for 'virBuffer'

'virBufferFreeAndReset' does not free the top level structure itself.
Additionally we almost exclusively use stack'd buffers rather than
pointers.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
Peter Krempa 2019-02-21 15:39:57 +01:00
parent 82fe58ff26
commit a3d0d77e74

View File

@ -119,6 +119,4 @@ int virBufferGetIndent(const virBuffer *buf, bool dynamic);
void virBufferTrim(virBufferPtr buf, const char *trim, int len);
void virBufferAddStr(virBufferPtr buf, const char *str);
VIR_DEFINE_AUTOPTR_FUNC(virBuffer, virBufferFreeAndReset);
#endif /* LIBVIRT_VIRBUFFER_H */