|
my program shuts down unexpectedly. |
Doctor Cop
Member #16,833
April 2018
|
I created a button in ALLEGRO5. But my program crashes after about 5 seconds if I move my cursor around the button few times. I have attached my executable and program. please help
|
Audric
Member #907
January 2001
|
You are leaking memory like crazy, with those calls to al_load_font() in main.cpp and buttons.h. |
Doctor Cop
Member #16,833
April 2018
|
Thanks for your help. Thanks_again();
|
|