From c216ca29988df00c6696a360be332974ceacf00d Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Sun, 18 Sep 2022 16:55:56 +1000 Subject: [PATCH] Update developing-toy.md --- developing-toy.md | 1 + 1 file changed, 1 insertion(+) diff --git a/developing-toy.md b/developing-toy.md index 520c433..022abac 100644 --- a/developing-toy.md +++ b/developing-toy.md @@ -40,3 +40,4 @@ In addition, the macros defined in [literal.h](https://github.com/Ratstail91/Toy * `IS_TRUTHY` - check if a literal is truthy * `MAX_STRING_LENGTH` - the maximum length of a string in Toy (can be altered if needed) +When you create a new Literal object, be sure to call `freeLiteral()` on it afterwards! If you don't, your program will leak memory as Toy has no internal tracker for such things.