1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-15 17:47:09 +00:00

Fix memleak

This commit is contained in:
Nikolas Garofil 2010-11-14 22:13:56 +01:00
parent 5dd486d345
commit c2c06d0956

View File

@ -3055,7 +3055,7 @@ int main(int argc, char **argv)
}
catch(conky_error &e) {
std::cerr << "caught exception: " << e.what() << std::endl;
if(e.errortype() == critical) exit(EXIT_FAILURE);
if(e.errortype() == critical) return EXIT_FAILURE;
}
#ifdef BUILD_WEATHER_XOAP