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

gtk.cfg: Fix some g_variant deallocators #701

Merged
merged 1 commit into from Oct 29, 2015
Merged

Conversation

JIghtuse
Copy link
Contributor

"This call makes a shallow copy; the return result should be released
with g_free(), but the individual strings must not be modified."

https://developer.gnome.org/glib/stable/glib-GVariant.html

"This call makes a shallow copy; the return result should be released
with g_free(), but the individual strings must not be modified."

https://developer.gnome.org/glib/stable/glib-GVariant.html
@JIghtuse
Copy link
Contributor Author

I run a simple example with g_free and g_strfreev under valgrind. Valgrind complains in latter case, so docs are accurate.

@amai2012
Copy link
Collaborator

Thank you.

amai2012 added a commit that referenced this pull request Oct 29, 2015
gtk.cfg: Fix some g_variant deallocators
@amai2012 amai2012 merged commit d69cc45 into danmar:master Oct 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants