2014-04-27
2014-04-27 18:31:29 by Martin Nilsson <nilsson@opera.com>
-
0ec752ef450dbf541fd9c208bd4e388e4a5efc1c
(5 lines)
(+3/-2)
[
Show
| Annotate
]
Branch: 8.0
Free takes void* and doesn't need any cast anymore.
140:
HINSTANCE ret;
tmp=convert_string(foo, strlen(foo));
ret=LoadLibrary(tmp);
- free((char *)tmp);
+ free(tmp);
return (void *)ret;
}
704: Inside #if defined(USE_DYNAMIC_MODULES) and #if defined(PIKE_DEBUG)
if (tmp->module_prog)
Pike_fatal ("There's still a program for a dynamic module.\n");
#endif
- free((char *)tmp);
+ free(tmp);
}
#endif
}