Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Linux] Fix memory leaks #34

Closed
wants to merge 1 commit into from
Closed

[Linux] Fix memory leaks #34

wants to merge 1 commit into from

Conversation

jpnurmi
Copy link
Contributor

@jpnurmi jpnurmi commented Sep 5, 2021

  • Use g_autoptr for fl_value_new_xxx() (g_malloc0()).
  • Replace fl_value_lookup() + fl_value_new_string() with fl_value_lookup_string() that takes care of allocating and releasing the string.

- Use `g_autoptr` for `fl_value_new_xxx()` (`g_malloc0()`).
- Replace `fl_value_lookup()` + `fl_value_new_string()` with
  `fl_value_lookup_string()` that takes care of allocating and
  releasing the string.
@jpnurmi jpnurmi closed this by deleting the head repository Aug 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant