• E
    qapi-dealloc: Reduce use outside of generated code · 96a1616c
    Eric Blake 提交于
    No need to roll our own use of the dealloc visitors when we can
    just directly use the qapi_free_FOO() functions that do what we
    want in one line.
    
    In net.c, inline net_visit() into its remaining lone caller.
    
    After this patch, test-visitor-serialization.c is the only
    non-generated file that needs to use a dealloc visitor, because
    it is testing low level aspects of the visitor interface.
    Signed-off-by: NEric Blake <eblake@redhat.com>
    Message-Id: <1456262075-3311-2-git-send-email-eblake@redhat.com>
    Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
    96a1616c
test-opts-visitor.c 9.0 KB