-
Notifications
You must be signed in to change notification settings - Fork 556
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve Database API to avoid memory leaks in the future, part 3.
This commit reworks SqlQueryHolder to return a unique_ptr instead of a raw pointer to the query's result in its API. It also fixes a memory leak in Player::_LoadForgottenSkills() because the incoming query result was not deleted.
- Loading branch information
1 parent
af2a4f8
commit b634d26
Showing
12 changed files
with
121 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.