X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/168dc880e22aca384071d6f8dd39ec26bd094c4e..76b2d8c9cdf908d428fef3d55c3185876978d97b:/src/gras/Virtu/process.c?ds=sidebyside diff --git a/src/gras/Virtu/process.c b/src/gras/Virtu/process.c index 50676f8966..ef02c5de22 100644 --- a/src/gras/Virtu/process.c +++ b/src/gras/Virtu/process.c @@ -33,9 +33,9 @@ gras_procdata_init() { gras_error_t errcode; gras_procdata_t *pd=gras_procdata_get(); pd->userdata = NULL; - TRY(gras_dynar_new( &(pd->msg_queue), sizeof(gras_msg_t), NULL )); - TRY(gras_dynar_new( &(pd->cbl_list), sizeof(gras_cblist_t *), NULL )); - TRY(gras_dynar_new( &(pd->sockets), sizeof(gras_socket_t*), NULL)); + TRY(gras_dynar_new(&(pd->msg_queue), sizeof(gras_msg_t), NULL)); + TRY(gras_dynar_new(&(pd->cbl_list), sizeof(gras_cblist_t *),gras_cbl_free)); + TRY(gras_dynar_new(&(pd->sockets), sizeof(gras_socket_t*), NULL)); return no_error; }