Skip to content

Commit

Permalink
Issue #16 Bug fix linked_list memory allocation
Browse files Browse the repository at this point in the history
  • Loading branch information
epatrizio committed Feb 28, 2022
1 parent 23defe2 commit 208baac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/linked_list.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

linked_list linked_list_create()
{
linked_list empty_ll = malloc(sizeof(linked_list));
linked_list empty_ll = malloc(sizeof(struct _linked_list));
empty_ll->first = NULL;
empty_ll->last = NULL;
empty_ll->size = 0;
Expand Down

0 comments on commit 208baac

Please sign in to comment.