Skip to content

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