void slirp_cleanup(Slirp *slirp)

{

    TAILQ_REMOVE(&slirp_instances, slirp, entry);



    unregister_savevm("slirp", slirp);



    qemu_free(slirp->tftp_prefix);

    qemu_free(slirp->bootp_filename);

    qemu_free(slirp);

}

void slirp_cleanup(Slirp *slirp)

{

    TAILQ_REMOVE(&slirp_instances, slirp, entry);



    unregister_savevm("slirp", slirp);



    qemu_free(slirp->tftp_prefix);

    qemu_free(slirp->bootp_filename);

    qemu_free(slirp);

}

void FUNC_0(Slirp *VAR_0)

{

    TAILQ_REMOVE(&slirp_instances, VAR_0, entry);



    unregister_savevm("VAR_0", VAR_0);



    qemu_free(VAR_0->tftp_prefix);

    qemu_free(VAR_0->bootp_filename);

    qemu_free(VAR_0);

}

void FUNC_0(Slirp *VAR_0)
{ TAILQ_REMOVE(&slirp_instances, VAR_0, entry); unregister_savevm("VAR_0", VAR_0); qemu_free(VAR_0->tftp_prefix); qemu_free(VAR_0->bootp_filename); qemu_free(VAR_0); }