xbt_assert1(!strcmp(e.msg,"Some error we will catch on client side"),
"Got wrong message: %s", e.msg);;
INFO0("Got the expected exception when calling the exception raising RPC");
- xbt_ex_free(e);
+ xbt_ex_free(&e);
/* doxygen_ignore */
for (i=0; i<5; i++) {
gras_msgtype_by_name("raise exception"), NULL, NULL);
} CATCH(e) {
gotit = 1;
- xbt_ex_free(e);
+ xbt_ex_free(&e);
}
if (!gotit) {
THROW0(unknown_error,0,"Didn't got the remote exception!");
xbt_assert1(!strcmp(e.msg,"Some error we will catch on client side"),
"Got wrong message: %s", e.msg);;
INFO0("Got the expected exception when calling the exception raising RPC");
- xbt_ex_free(e);
+ xbt_ex_free(&e);
}
/* 11. Cleanup the place before leaving */
} CATCH(e) {
if (e.category != not_found_error)
RETHROW;
- xbt_ex_free(e);
+ xbt_ex_free(&e);
}
if (found) {
TRY {
res = (gras_msgtype_t)xbt_set_get_by_name(_gras_msgtype_set, namev);
} CATCH(e) {
- xbt_ex_free(e);
+ xbt_ex_free(&e);
THROW1(not_found_error,0,"No registred message of that name: %s",name);
}
if (name != namev)
} CATCH(e) {
if (e.category != timeout_error)
RETHROW;
- xbt_ex_free(e);
+ xbt_ex_free(&e);
timeouted = 1;
}
gras_socket_peer_name(msg.expe),
gras_socket_peer_port(msg.expe));
e.host = NULL;
- xbt_ex_free(e);
+ xbt_ex_free(&e);
} else
RETHROW;
}