diff --git a/libowlps-resultreader/libowlps-resultreader.c b/libowlps-resultreader/libowlps-resultreader.c index def24cc..4a4b1cf 100644 --- a/libowlps-resultreader/libowlps-resultreader.c +++ b/libowlps-resultreader/libowlps-resultreader.c @@ -37,7 +37,7 @@ * pointer to it. * * Note that the new owl_result is allocated with `malloc()` and must be - * deleted using `free()`. + * deleted using `owl_free_result()`. * * In case of error, a message is printed, except if `owl_run` (from * owlps.h) is `false`, and `NULL` is returned. @@ -72,7 +72,7 @@ owl_result* owl_receive_position(const int sockfd) * if preservation of the original value is desired. * * Note that the new `owl_result` is allocated with `malloc()` and must - * be deleted using `free()`. + * be deleted using `owl_free_result()`. * * Handled CSV format: * @@ -178,7 +178,7 @@ owl_result* owl_fill_result(char *csv) * if preservation of the original value is desired. * * Note that the new owl_algorithm_result is allocated with `malloc()` - * and must be deleted using `free()`. + * and must be deleted using `owl_free_algorithm_result()`. * * Handled CSV format: * @@ -468,7 +468,7 @@ void owl_fprint_algorithm_result(FILE *stream, * Frees the memory allocated for an `owl_result`. The `results` and * `mobile_mac_addr` fields of `result` *must* be defined, either to * `NULL` or to a valid memory block allocated with `malloc()`. - * Note that `result` will not set to `NULL`. + * Note that `result` will not be set to `NULL`. */ void owl_free_result(owl_result *const result) { @@ -490,7 +490,7 @@ void owl_free_result(owl_result *const result) * recursively). The `algorithm` and `area` fields of `algo` *must* be * defined, either to `NULL` or to a valid memory block allocated with * `malloc()`. - * Note that `algo` will not set to `NULL`. + * Note that `algo` will not be set to `NULL`. */ void owl_free_algorithm_result(owl_algorithm_result *const algo) {