alec

Abstraction Layer for Escape Codes
git clone git://git.dimitrijedobrota.com/alec.git
Log | Files | Refs | README | LICENSE

commit 0643c7f29d0a1851426b4ed1545dd0da2dc1f71d
parent e05c39ff3578c401277e36d0b6ccc5653666b471
Author: Dimitrije Dobrota <mail@dimitrijedobrota.com>
Date:   Tue,  5 Mar 2024 22:23:58 +0000

Fix memory leak in case of an error

Diffstat:
MCMakeLists.txt | 2+-
Msrc/parser.y | 1+
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt @@ -3,7 +3,7 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON) project( Alec - VERSION 1.0.5 + VERSION 1.0.6 DESCRIPTION "Abstraction Layer for Escape Codes" HOMEPAGE_URL https://git.dimitrijedobrota.com/alec.git LANGUAGES C CXX diff --git a/src/parser.y b/src/parser.y @@ -23,6 +23,7 @@ extern list_t prologue; } +%destructor { free($$); } <char *> %start document