Commit 8d773e2c authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

urlmon/tests: Fix a couple of allocations.

parent d0ecd514
......@@ -2332,7 +2332,7 @@ static void test_bsc_marshaling(void)
rem_bindinfo.stgmedData.tymed = TYMED_HGLOBAL;
buf = GlobalAlloc(0, sizeof(5));
buf = GlobalAlloc(0, 5);
strcpy(buf, "test");
rem_bindinfo.stgmedData.u.hGlobal = buf;
rem_bindinfo.cbstgmedData = 5;
......@@ -2549,7 +2549,7 @@ static void test_bsc_marshaling(void)
rem_bindinfo.stgmedData.tymed = TYMED_HGLOBAL;
buf = GlobalAlloc(0, sizeof(5));
buf = GlobalAlloc(0, 5);
strcpy(buf, "test");
rem_bindinfo.stgmedData.u.hGlobal = buf;
rem_bindinfo.cbstgmedData = 5;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment