NataliaMedeiros / minishell

0 stars 0 forks source link

Implemented free parser #15

Open NataliaMedeiros opened 1 month ago

NataliaMedeiros commented 1 month ago

Description: Implement free parsing function to clean and free the parsing struct, before de programa closes.

Implementation: I think the best place to call this function is inside the function parser (on parser.c file), just before the return (0), because with this the parser struct will be freed and cleaned asap whe finishing execute the command line and before we return the prompt.