From a77ce98811ba6040dafec8f75b5387ae5b2813aa Mon Sep 17 00:00:00 2001 From: Javier Date: Wed, 13 Apr 2022 02:47:39 +0200 Subject: fix sft leak --- sftsr.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sftsr.c') diff --git a/sftsr.c b/sftsr.c index 245872a..6c4c99e 100644 --- a/sftsr.c +++ b/sftsr.c @@ -464,6 +464,8 @@ static void handle_close(union INTPACK __far *r) return; } + dos_sft_decref(sft); + data.files[openfile].root = SHFL_ROOT_NIL; data.files[openfile].handle = SHFL_HANDLE_NIL; -- cgit v1.2.3