free(params);
sfree(params);
static DWORD WINAPI generate_rsa_key_thread(void *param) {    struct rsa_key_thread_params *params =        (struct rsa_key_thread_params *)param;    struct progress prog;    prog.progbar = params->progressbar;    rsa_generate(params->key, params->aux,		 params->keysize, progress_update, &prog);    PostMessage(params->dialog, WM_DONEKEY, 0, 0);    free(params);    return 0;}