[libvirt PATCH 01/10] vsh: table: define cleanup function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Ján Tomko <jtomko@xxxxxxxxxx>
---
 tools/vsh-table.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/vsh-table.h b/tools/vsh-table.h
index a8cfca62d5..5ce416cfa1 100644
--- a/tools/vsh-table.h
+++ b/tools/vsh-table.h
@@ -30,3 +30,4 @@ vshTable *vshTableNew(const char *format, ...);
 int vshTableRowAppend(vshTable *table, const char *arg, ...);
 void vshTablePrintToStdout(vshTable *table, vshControl *ctl);
 char *vshTablePrintToString(vshTable *table, bool header);
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(vshTable, vshTableFree);
-- 
2.31.1




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux