diff options
Diffstat (limited to 'src/im-sandbox.c')
-rw-r--r-- | src/im-sandbox.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/im-sandbox.c b/src/im-sandbox.c index 4d40c461..62483044 100644 --- a/src/im-sandbox.c +++ b/src/im-sandbox.c @@ -529,6 +529,7 @@ static void add_pipe(struct sandbox *sb, int fd) fhs_new = realloc(sb->fhs, (sb->n_read+1)*sizeof(FILE *)); if ( fhs_new == NULL ) { ERROR("Failed to allocate memory for new FH.\n"); + free(fds_new); return; } |