~james-page/ubuntu/saucy/openvswitch/1.12-snapshot

« back to all changes in this revision

Viewing changes to tests/test-stp.c

  • Committer: James Page
  • Date: 2013-08-21 10:16:57 UTC
  • mfrom: (1.1.20)
  • Revision ID: james.page@canonical.com-20130821101657-3o0z0qeiv5zkwlzi
New upstream snapshot

Show diffs side-by-side

added added

removed removed

Lines of Context:
661
661
    }
662
662
    for (i = 0; i < tc->n_bridges; i++) {
663
663
        struct bridge *bridge = tc->bridges[i];
664
 
        stp_destroy(bridge->stp);
 
664
        stp_unref(bridge->stp);
665
665
        free(bridge);
666
666
    }
667
667
    free(tc);