Patch for minor memory leak
|Reported by:||SF/youngelf||Owned by:||fingolfin|
Hi, I'm running ScummVM under valgrind, primarily to learn how to fix memory errors. This is the first of my finds and fixes. I would like to continue fixing memory leaks, so please accept this patch. (Copyright signed over to the ScummVM project.)
If this is too much trouble, please let me know.
Patch for gui/ListWidget.cpp included.
Ticket imported from: #1681843. Ticket imported from: patches/722.