Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
win32: Fixes for POOLMEM ** to POOLMEM *&
Master uses POOLMEM *& while 15.2 still uses POOLMEM **
  • Loading branch information
Marco van Wieringen committed Jan 7, 2016
1 parent 7f1fdd6 commit 966d6b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/win32/plugins/filed/mssqlvdi-fd.c
Expand Up @@ -1435,7 +1435,7 @@ static inline bool setup_vdi_device(bpContext *ctx, struct io_pkt *io)
POOLMEM *instance_name;

instance_name = get_pool_memory(PM_NAME);
UTF8_2_wchar(&instance_name, p_ctx->instance);
UTF8_2_wchar(instance_name, p_ctx->instance);
hr = p_ctx->VDIDeviceSet->CreateEx((LPCWSTR)instance_name, p_ctx->vdsname, &p_ctx->VDIConfig);
free_pool_memory(instance_name);
}
Expand Down

0 comments on commit 966d6b8

Please sign in to comment.