Skip to content

Commit 89e390b

Browse files
FaramosCZsvoj
authored andcommitted
Fix resource leak
1 parent 9ff713d commit 89e390b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

extra/mariabackup/ds_compress.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,7 @@ create_worker_threads(uint n)
384384
return threads;
385385

386386
err:
387+
my_free(threads);
387388
return NULL;
388389
}
389390

0 commit comments

Comments
 (0)