You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit implements the function to allocate a new element
into the head or tail of the list.
Using list_add & list_add_tail to implement this two funtions.
If allocated FAILED, it will free the new element and return
false to avoid memory leak.
Change-Id: I10544fc8019a7d7e6b1fd52d8dd4588e486c1740
0 commit comments