WIP: memory leaks fsm/measures/tools fsm_tools_list_test() < OK

The function fsm_tools_list_test() calls:
- fsm_tools_list_insert()
- fsm_tools_list_view()
- fsm_tools_list_pop()
- fsm_tools_list_clear()

The status: SUMMARY: AddressSanitizer: 9488 byte(s) leaked in 340 allocation(s).
is unchanged before/after introduction of the files:
- fsm/measures/tools.c
- fsm/measures/data.c
and the execution of the function fsm_tools_list_test()
This commit is contained in:
Jean Sirmai 2025-01-20 10:48:19 +01:00
parent 80b15346a5
commit eac8e0fef2
Signed by: jean
GPG key ID: FB3115C340E057E3
2 changed files with 16 additions and 0 deletions

View file

@ -261,5 +261,9 @@ typedef struct fsm_struct_list_tool {
struct fsm_struct_list_tool *suiv; /**< *suiv phantom documentation */
} fsm_struct_list_tool ;
<<<<<<< HEAD
=======
void fsm_tools_list_test();
>>>>>>> 5c5eb4b (WIP: memory leaks fsm/measures/tools fsm_tools_list_test() < OK)

View file

@ -45,7 +45,11 @@
* @param *p_data
* @param *p_target
*/
<<<<<<< HEAD
void fsm_add_data (fsm_struct_list_data d, int *p_data, int *p_target) {}
=======
void fsm_add_data (fsm_struct_list_tool d, int *p_data, int *p_target) {}
>>>>>>> 5c5eb4b (WIP: memory leaks fsm/measures/tools fsm_tools_list_test() < OK)
/**
* phantom documentation
@ -54,7 +58,11 @@ void fsm_add_data (fsm_struct_list_data d, int *p_data, int *p_target) {}
* @param from
* @param to
*/
<<<<<<< HEAD
int fsm_get_data (fsm_struct_list_data d, int from, int to) {return 0;}
=======
int fsm_get_data (fsm_struct_list_tool d, int from, int to) {return 0;}
>>>>>>> 5c5eb4b (WIP: memory leaks fsm/measures/tools fsm_tools_list_test() < OK)
/**
* phantom documentation
@ -62,5 +70,9 @@ int fsm_get_data (fsm_struct_list_data d, int from, int to) {return 0;}
* @param d
* @param *p_data
*/
<<<<<<< HEAD
void fsm_remove_data (fsm_struct_list_data d, int *p_data) {}
=======
void fsm_remove_data (fsm_struct_list_tool d, int *p_data) {}
>>>>>>> 5c5eb4b (WIP: memory leaks fsm/measures/tools fsm_tools_list_test() < OK)