Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhance memory management in dup node deletion
In q_delete_dup, replace the conditional check and freeing of 'prob' with a more clear approach. The updated code uses `free(prob)` directly, followed by updating 'prob' with the strdup result from 'cur->val'
- Loading branch information