Skip to content
Extraits de code Groupes Projets
Valider 28e1acfe rédigé par Grigori Goronzy's avatar Grigori Goronzy
Parcourir les fichiers

libaegisub: do not free string returned by getenv()

getenv() returns a string that is part of internal process data and
should never be modified and/or free()'d.

Originally committed to SVN as r5368.
parent 066ec301
Branches
Étiquettes
Aucune requête de fusion associée trouvée
......@@ -42,7 +42,6 @@ const std::string home() {
exit(1);
}
std::string home(ehome);
free(ehome);
return home;
}
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter