summaryrefslogtreecommitdiff
path: root/wk5/pset
diff options
context:
space:
mode:
authorFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-04-29 02:02:31 +0000
committerFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-04-29 02:02:31 +0000
commit80963a429fb8b71d4ca3cc7665fb37d36045d584 (patch)
tree3ebc15c2eea9b3817c2d60dae93563d933d0916e /wk5/pset
parent4b356cda5ff1b5a4285a38f9ad8dd6a990186950 (diff)
Sun, Apr 28, 2024, 7:02 PM -07:00
Diffstat (limited to 'wk5/pset')
-rw-r--r--wk5/pset/speller/dictionary.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wk5/pset/speller/dictionary.c b/wk5/pset/speller/dictionary.c
index fd3d893..626e965 100644
--- a/wk5/pset/speller/dictionary.c
+++ b/wk5/pset/speller/dictionary.c
@@ -80,7 +80,7 @@ bool load(const char *dictionary)
siz++;
// create new node
// use malloc
- node *ptr = calloc(sizeof(node));
+ node *ptr = malloc(sizeof(node));
// check if return is NULL
if (ptr == NULL)
{