mirror of
https://github.com/swaywm/sway.git
synced 2025-11-08 13:29:50 -05:00
Fix various memory leaks
Found with clang-tidy
This commit is contained in:
parent
32caabc7a1
commit
a6307aed00
3 changed files with 11 additions and 4 deletions
|
|
@ -259,6 +259,7 @@ int main(int argc, char **argv) {
|
|||
exit(EXIT_SUCCESS);
|
||||
break;
|
||||
case 'c': // config
|
||||
free(config_path);
|
||||
config_path = strdup(optarg);
|
||||
break;
|
||||
case 'C': // validate
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue