mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +03:00
Fix memory leak in debug mode of restart_clvmd() error path
This commit is contained in:
parent
1febdf9a37
commit
8382fc3e85
@ -1,5 +1,6 @@
|
|||||||
Version 2.02.80 -
|
Version 2.02.80 -
|
||||||
====================================
|
====================================
|
||||||
|
Fix memory leak in debug mode of restart_clvmd() error path.
|
||||||
Log error message for pthread_join() failure in clvmd.
|
Log error message for pthread_join() failure in clvmd.
|
||||||
|
|
||||||
Version 2.02.79 - 20th December 2010
|
Version 2.02.79 - 20th December 2010
|
||||||
|
@ -408,6 +408,7 @@ out:
|
|||||||
for (i = 0; i < argc && argv[i]; i++)
|
for (i = 0; i < argc && argv[i]; i++)
|
||||||
free(argv[i]);
|
free(argv[i]);
|
||||||
free(argv);
|
free(argv);
|
||||||
|
free(debug_arg);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user