added a ntfs_free(const void*)

N2009_11_14_FIXES
jpandre 2007-10-09 07:40:53 +00:00
parent 8a210f7776
commit 728a9c1aad
2 changed files with 5 additions and 0 deletions

View File

@ -3,6 +3,7 @@
void *ntfs_calloc(size_t size);
void *ntfs_malloc(size_t size);
void ntfs_free(const void *ptr); /* JPA please do not remove the 'const' */
#endif /* _NTFS_MISC_H_ */

View File

@ -34,3 +34,7 @@ void *ntfs_malloc(size_t size)
return p;
}
void ntfs_free(const void *ptr) {
free((void*)ptr);
}