diff options
author | David Robillard <d@drobilla.net> | 2012-08-03 02:22:50 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-08-03 02:22:50 +0000 |
commit | 6e2098398135804da9b397ad22137ee0ff14dea0 (patch) | |
tree | 7cab951ccd4aebd036f47cab3f0f2f97f1b2dde0 /src | |
parent | eb33777e6ab2f9ebd5f398bb9c9a9ae92ac3531d (diff) | |
download | suil-6e2098398135804da9b397ad22137ee0ff14dea0.tar.gz suil-6e2098398135804da9b397ad22137ee0ff14dea0.tar.bz2 suil-6e2098398135804da9b397ad22137ee0ff14dea0.zip |
Fix memory errors introduced in r4603.
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@4605 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/instance.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/instance.c b/src/instance.c index 951b12f..e4c521f 100644 --- a/src/instance.c +++ b/src/instance.c @@ -95,8 +95,8 @@ open_wrapper(SuilHost* host, const char* const mod_dir = env_dir ? env_dir : SUIL_MODULE_DIR; const size_t path_len = strlen(mod_dir) + + strlen(SUIL_DIR_SEP SUIL_MODULE_PREFIX SUIL_MODULE_EXT) + strlen(module_name) - + strlen(SUIL_MODULE_EXT) + 2; char* const path = calloc(path_len, 1); |