Hi Szabolcs, The handler should not free map12 or map21; these are allocated by igraph and it actually re-uses them for the next callback if I remember correctly.
T. T. On Tue, Sep 8, 2015 at 9:53 AM, Szabolcs Horvát <[email protected]> wrote: > Dear All, > > The igraph_isomorphic_function_vf2() function takes a callback of the type > > typedef igraph_bool_t igraph_isohandler_t(const igraph_vector_t > *map12, const igraph_vector_t *map21, void *arg); > > Whose responsibility is it to igraph_vector_destroy() map12 and map21? > Does it need to be done in the handler or does > igraph_isomorphic_function_vf2() do it? > > I am hoping and assuming that it is left to the handler, but I would > like to make sure. > > Szabolcs > > _______________________________________________ > igraph-help mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/igraph-help _______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
