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

ZenEditor_get_syntax fix #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

ZenEditor_get_syntax fix #16

wants to merge 1 commit into from

Conversation

oco2000
Copy link

@oco2000 oco2000 commented Aug 3, 2016

This fixes #15


gchar *type = g_ascii_strdown(doc->file_type->name, -1);

return PyString_FromString(type);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

type is leaked here, it should be passed to g_free() before returning.

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.

Using the plugin for css files
2 participants