Advertisement
CitraDeus

backup

Jul 20th, 2014
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. for (int j = 0; u_node != NULL; j = (j + 1) % 26)
  2. {
  3. if (u_node -> children == NULL)
  4. {
  5. // free node
  6. if (u_node != NULL)
  7. {
  8. free(u_node);
  9. }
  10.  
  11. return true;
  12. }
  13. else
  14. {
  15. if (u_node -> children[j] != NULL)
  16. {
  17. // recursively call self
  18. unload_helper(u_node -> children[j]);
  19. }
  20. }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement