mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-15 17:47:09 +00:00
Fix memleak
This commit is contained in:
parent
5dd486d345
commit
c2c06d0956
@ -3055,7 +3055,7 @@ int main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
catch(conky_error &e) {
|
catch(conky_error &e) {
|
||||||
std::cerr << "caught exception: " << e.what() << std::endl;
|
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
|
#ifdef BUILD_WEATHER_XOAP
|
||||||
|
Loading…
Reference in New Issue
Block a user