Skip to content
Snippets Groups Projects
Commit e00a0710 authored by ruslan.laishev's avatar ruslan.laishev 💬
Browse files

[*] Nano update of SLIST API

parent 310c325f
No related branches found
No related tags found
No related merge requests found
...@@ -104,7 +104,8 @@ dap_slist_elm_t *l_elm; ...@@ -104,7 +104,8 @@ dap_slist_elm_t *l_elm;
a_slist->tail = NULL; /* Reset tail to NULL */ a_slist->tail = NULL; /* Reset tail to NULL */
*a_data = l_elm->data; *a_data = l_elm->data;
*a_datasz = l_elm->datasz; if ( a_datasz )
*a_datasz = l_elm->datasz;
DAP_FREE(l_elm); /* Release memory has been allocated for the queue's element */ DAP_FREE(l_elm); /* Release memory has been allocated for the queue's element */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment