Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenIPC/firmware
/ clear_paths
Function
clear_paths
general/package/legacy/lshell/src/lshell.c:45–49 ·
view source on GitHub ↗
* @brief Empties the list of paths and frees memory * */
Source
from the content-addressed store, hash-verified
43
*
44
*/
45
void clear_paths()
46
{
47
paths = realloc(paths, sizeof(char *));
48
paths_c = 0;
49
}
50
51
void free_paths()
52
{
Callers
1
handle_cmd
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected