From 175b870796e24d523dc6e4fe5532530bc9976d7d Mon Sep 17 00:00:00 2001 From: Marijn Doeve Date: Thu, 7 Oct 2021 13:51:17 +0200 Subject: [PATCH] Changed the text used in valgrind --- speller/unload/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/speller/unload/index.md b/speller/unload/index.md index 0870b73..6be5ae6 100644 --- a/speller/unload/index.md +++ b/speller/unload/index.md @@ -14,10 +14,10 @@ And this is the final step for speller. This is where you get your program to cl Be sure to `free` in `unload` any memory that you allocated in `load`! Recall that `valgrind` is your newest best friend. Know that `valgrind` watches for leaks while your program is actually running, so be sure to provide command-line arguments if you want `valgrind` to analyze `speller` while you use a particular `dictionary` and/or text, as in the below. Best to use a small text, though, else `valgrind` could take quite a while to run. - valgrind ./speller texts/ralph.txt + valgrind ./speller texts/birdman.txt If you run `valgrind` without specifying a `text` for `speller`, your implementations of `load` and `unload` won't actually get called (and thus analyzed). If unsure how to interpret the output of `valgrind`, do just ask `help50` for help: - help50 valgrind ./speller texts/ralph.txt + help50 valgrind ./speller texts/birdman.txt