Branch: Tag:

2014-04-27

2014-04-27 18:31:29 by Martin Nilsson <nilsson@opera.com>

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   }