[datastructures] [haglerchristopher/data-structures] 12768c: fixed the _destroy functions. They were setting th...

  • From: Christopher Hagler <haglerchristopher@xxxxxxxxx>
  • To: datastructures@xxxxxxxxxxxxx
  • Date: Fri, 08 Aug 2014 03:27:50 -0700

  Branch: refs/heads/master
  Home:   https://github.com/haglerchristopher/data-structures
  Commit: 12768c7c05cced0ebadf9de8578ccd53ab04d76c
      
https://github.com/haglerchristopher/data-structures/commit/12768c7c05cced0ebadf9de8578ccd53ab04d76c
  Author: Christopher Hagler <haglerchristopher@xxxxxxxxx>
  Date:   2014-08-08 (Fri, 08 Aug 2014)

  Changed paths:
    M Makefile
    M list/doubly_linkedlist/TO-DO
    M list/doubly_linkedlist/doubly_linkedlist.c
    M list/doubly_linkedlist/doubly_linkedlist.h
    M list/single_linkedlist/linkedlist.c
    M list/single_linkedlist/linkedlist.h
    M test/main.c

  Log Message:
  -----------
  fixed the _destroy functions. They were setting the next pointers to null 
after being freed. Futhermore I still need to work on the 
doubly_linkedlist_destory() because it receives a segfault with having "if 
(next_tmp_node->next)"


Other related posts:

  • » [datastructures] [haglerchristopher/data-structures] 12768c: fixed the _destroy functions. They were setting th... - Christopher Hagler