fix: leak

This commit is contained in:
starnakin 2023-06-28 20:44:58 +02:00
parent cc8cb37697
commit cd7ce72a82

2
src/env/env.c vendored
View File

@ -101,6 +101,8 @@ lst** env_init(const char** env)
free(key);
return (NULL);
}
free(key);
free(value);
}
return (root);
}