Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[cleanup] Do not use const for pointers used for storing dynamic data
Probably in attempt to hide compilation warnings due to storing dynamically allocated data in const pointers, there are multiple places where releasing of dynamic memory uses casts. Some of these casts are incorrect and there are still compilation issues. Remove const attribute from pointers that are used to store dynamically allocated data and remove the unnecessary casts at free() / g_free(). Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
- Loading branch information
Showing
3 changed files
with
9 additions
and
9 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
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