/[paths]/src/graph.c
ViewVC logotype

Diff of /src/graph.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 13 by ben, Sun Jul 29 13:24:15 2012 UTC revision 14 by ben, Sun Aug 12 10:21:50 2012 UTC
# Line 200  void graph_destroy(struct graph* g) Line 200  void graph_destroy(struct graph* g)
200          for (i = 0; i < g->count; i++) {          for (i = 0; i < g->count; i++) {
201                  free(g->nodes[i].neighbours);                  free(g->nodes[i].neighbours);
202          }          }
203            free(g->nodes);
204          free(g);          free(g);
205          return;          return;
206  }  }

Legend:
Removed from v.13  
changed lines
  Added in v.14

  ViewVC Help
Powered by ViewVC 1.1.26