Commit 31bfcc1a authored by Manish Singh's avatar Manish Singh Committed by Manish Singh

cast away the constness in the call to free().

Sat Mar 19 23:52:33 2005  Manish Singh  <yosh@gimp.org>

        * xdgmimeglob.c (_xdg_glob_hash_insert_text): cast away the constness
        in the call to free().
parent 231cb644
Sat Mar 19 23:52:33 2005 Manish Singh <yosh@gimp.org>
* xdgmimeglob.c (_xdg_glob_hash_insert_text): cast away the constness
in the call to free().
2005-03-20 Matthias Clasen <mclasen@redhat.com>
* xdgmimeglob.c (_xdg_glob_hash_insert_text): Don't
......
......@@ -242,7 +242,7 @@ _xdg_glob_hash_insert_text (XdgGlobHashNode *glob_hash_node,
if (*text == '\000')
{
if (node->mime_type)
free (node->mime_type);
free ((void *) node->mime_type);
node->mime_type = mime_type;
}
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment