aboutsummaryrefslogtreecommitdiff
path: root/collections/double_ended_queue/double_ended_queue.c
AgeCommit message (Collapse)Author
2020-07-06Fix double ended queue did not print free stringsTucker Evans
Because it is possible for to_string function to generate a new string here and nothing else sees it after printing it is not guaranteed to be freed leading to a memory leak. This does mean that if the string is internal to a struct and expected to be used later then to_string should duplicate said string (as noted in the documentation).
2020-07-06Fix double ended queue removeTucker Evans
Did not return the removed object, could easily lead to a memory leak.
2020-07-06Fix organize functions order in double ended queue src filesTucker Evans
2020-07-03Fix output of debug print for double ended queueTucker Evans
2020-06-21Move double ended queue files to own directoryTucker Evans