116 references to FreeCoTaskMem
mscorlib (23)
system\deployment\cmsinterop.cs (12)
271
Marshal.
FreeCoTaskMem
(StringIds);
276
Marshal.
FreeCoTaskMem
(IntegerIds);
323
Marshal.
FreeCoTaskMem
(StringIds);
328
Marshal.
FreeCoTaskMem
(IntegerIds);
375
Marshal.
FreeCoTaskMem
(ResourceTypeIdInt);
380
Marshal.
FreeCoTaskMem
(ResourceTypeIdString);
432
Marshal.
FreeCoTaskMem
(TransformMetadata);
437
Marshal.
FreeCoTaskMem
(DigestValue);
503
Marshal.
FreeCoTaskMem
(HashValue);
780
Marshal.
FreeCoTaskMem
(HashValue);
1148
Marshal.
FreeCoTaskMem
(ManifestHash);
1153
Marshal.
FreeCoTaskMem
(MvidValue);
system\deployment\isolationinterop.cs (6)
22
Marshal.
FreeCoTaskMem
(BlobData);
1313
Marshal.
FreeCoTaskMem
(ip);
1613
Marshal.
FreeCoTaskMem
(rgItems);
2482
Marshal.
FreeCoTaskMem
(op.Data.DataPtr);
2752
Marshal.
FreeCoTaskMem
(p);
2798
Marshal.
FreeCoTaskMem
(p);
system\runtime\interopservices\marshal.cs (2)
2704
FreeCoTaskMem
(s);
2711
FreeCoTaskMem
(s);
system\security\cryptography\x509certificates\x509utils.cs (1)
173
Marshal.
FreeCoTaskMem
(rawKey);
system\security\securestring.cs (2)
576
Marshal.
FreeCoTaskMem
(ptr);
639
Marshal.
FreeCoTaskMem
(ptr);
PresentationCore (13)
Core\CSharp\MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (3)
679
Marshal.
FreeCoTaskMem
(pd.pPacketProperties);
685
Marshal.
FreeCoTaskMem
(pd.pguidButtons);
691
Marshal.
FreeCoTaskMem
(packets);
Core\CSharp\System\Windows\DataObject.cs (1)
2885
Marshal.
FreeCoTaskMem
(formatetc[formatetcIndex].ptd);
Core\CSharp\System\Windows\Input\InputProcessorProfiles.cs (1)
199
Marshal.
FreeCoTaskMem
(langids);
Core\CSharp\System\Windows\Media\Imaging\BitmapEncoder.cs (1)
65
Marshal.
FreeCoTaskMem
(pstrName);
Core\CSharp\System\Windows\Media\Imaging\BitmapMetadataEnumerator.cs (1)
115
Marshal.
FreeCoTaskMem
(ppStr);
Core\CSharp\System\Windows\Media\Imaging\PropVariant.cs (6)
198
Marshal.
FreeCoTaskMem
(destPtr);
259
Marshal.
FreeCoTaskMem
(pString);
262
Marshal.
FreeCoTaskMem
(destPtr);
520
Marshal.
FreeCoTaskMem
(Marshal.ReadIntPtr(strPtr, (int) (i*sizeIntPtr)));
524
Marshal.
FreeCoTaskMem
(ca.pElems);
531
Marshal.
FreeCoTaskMem
(pwszVal);
PresentationFramework (2)
src\Framework\MS\Internal\IO\Packaging\indexingfiltermarshaler.cs (2)
257
Marshal.
FreeCoTaskMem
(pszVal);
262
Marshal.
FreeCoTaskMem
(pNative);
System.Core (5)
Microsoft\Win32\SafeHandles\BCryptSafeHandles.cs (1)
70
Marshal.
FreeCoTaskMem
(m_hashObject);
System\Diagnostics\Eventing\Reader\CoTaskMemSafeHandle.cs (1)
50
Marshal.
FreeCoTaskMem
(handle);
System\Security\Cryptography\BCryptHashAlgorithm.cs (1)
158
Marshal.
FreeCoTaskMem
(hashObjectBuffer);
System\Security\Cryptography\CapiNative.cs (1)
689
Marshal.
FreeCoTaskMem
(buffer);
System\Security\Cryptography\NCryptNative.cs (1)
1094
Marshal.
FreeCoTaskMem
(hashAlgorithmString);
System.Drawing (8)
commonui\System\Drawing\Printing\PrinterSettings.cs (8)
250
Marshal.
FreeCoTaskMem
(buffer);
261
Marshal.
FreeCoTaskMem
(buffer);
1216
Marshal.
FreeCoTaskMem
(namesBuffer);
1217
Marshal.
FreeCoTaskMem
(kindsBuffer);
1218
Marshal.
FreeCoTaskMem
(dimensionsBuffer);
1254
Marshal.
FreeCoTaskMem
(namesBuffer);
1255
Marshal.
FreeCoTaskMem
(kindsBuffer);
1292
Marshal.
FreeCoTaskMem
(buffer);
System.Web (8)
Configuration\MULTI_QI.cs (2)
46
Marshal.
FreeCoTaskMem
(piid);
79
Marshal.
FreeCoTaskMem
(piid);
Configuration\RemoteWebConfigurationHost.cs (6)
541
Marshal.
FreeCoTaskMem
(captr);
545
Marshal.
FreeCoTaskMem
(ciptr);
548
Marshal.
FreeCoTaskMem
(guidbuf);
600
Marshal.
FreeCoTaskMem
(captr);
604
Marshal.
FreeCoTaskMem
(ciptr);
607
Marshal.
FreeCoTaskMem
(guidbuf);
System.Web.Services (2)
System\Web\Services\Protocols\RemoteDebugger.cs (2)
203
Marshal.
FreeCoTaskMem
(bufferPtr);
308
Marshal.
FreeCoTaskMem
(bufferPtr);
System.Windows.Forms (43)
parent\parent\parent\public\Internal\NDP\Inc\CmsInterop.cs (16)
275
Marshal.
FreeCoTaskMem
(StringIds);
280
Marshal.
FreeCoTaskMem
(IntegerIds);
327
Marshal.
FreeCoTaskMem
(StringIds);
332
Marshal.
FreeCoTaskMem
(IntegerIds);
379
Marshal.
FreeCoTaskMem
(ResourceTypeIdInt);
384
Marshal.
FreeCoTaskMem
(ResourceTypeIdString);
436
Marshal.
FreeCoTaskMem
(TransformMetadata);
441
Marshal.
FreeCoTaskMem
(DigestValue);
507
Marshal.
FreeCoTaskMem
(HashValue);
784
Marshal.
FreeCoTaskMem
(HashValue);
1152
Marshal.
FreeCoTaskMem
(ManifestHash);
1157
Marshal.
FreeCoTaskMem
(MvidValue);
1373
Marshal.
FreeCoTaskMem
(SecurityDescriptor);
1378
Marshal.
FreeCoTaskMem
(Values);
1383
Marshal.
FreeCoTaskMem
(Keys);
1440
Marshal.
FreeCoTaskMem
(SecurityDescriptor);
parent\parent\parent\public\Internal\NDP\Inc\IsolationInterop.cs (7)
27
Marshal.
FreeCoTaskMem
(BlobData);
1328
Marshal.
FreeCoTaskMem
(ip);
1628
Marshal.
FreeCoTaskMem
(rgItems);
2498
Marshal.
FreeCoTaskMem
(op.Data.DataPtr);
2768
Marshal.
FreeCoTaskMem
(p);
2790
Marshal.
FreeCoTaskMem
(p);
2814
Marshal.
FreeCoTaskMem
(p);
winforms\Managed\System\WinForms\AxHost.cs (2)
3295
Marshal.
FreeCoTaskMem
(uuids.pElems);
3391
Marshal.
FreeCoTaskMem
(uuids.pElems);
winforms\Managed\System\WinForms\ColorDialog.cs (1)
303
Marshal.
FreeCoTaskMem
(custColorPtr);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\BaseCAMarshaler.cs (1)
135
Marshal.
FreeCoTaskMem
(caArrayAddress);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2ComponentEditor.cs (2)
42
Marshal.
FreeCoTaskMem
(uuids.pElems);
97
Marshal.
FreeCoTaskMem
(uuids.pElems);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2IManagedPerPropertyBrowsingHandler.cs (2)
218
Marshal.
FreeCoTaskMem
(ptr);
251
Marshal.
FreeCoTaskMem
(ptr);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (1)
1323
Marshal.
FreeCoTaskMem
(mem);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\OleStrCAMarshaler.cs (1)
46
Marshal.
FreeCoTaskMem
(addr);
winforms\Managed\System\WinForms\ControlPaint.cs (1)
208
Marshal.
FreeCoTaskMem
(bitmapInfo);
winforms\Managed\System\WinForms\FileDialog.cs (2)
769
Marshal.
FreeCoTaskMem
(ofn.lpstrFile);
1035
Marshal.
FreeCoTaskMem
(ofn.lpstrFile);
winforms\Managed\System\WinForms\FontDialog.cs (1)
626
Marshal.
FreeCoTaskMem
(logFontPtr);
winforms\Managed\System\WinForms\Help.cs (1)
180
Marshal.
FreeCoTaskMem
(pszText);
winforms\Managed\System\WinForms\HtmlDocument.cs (1)
834
Marshal.
FreeCoTaskMem
(mem);
winforms\Managed\System\WinForms\RichTextBox.cs (2)
2215
if (txrg.lpstrText != IntPtr.Zero) Marshal.
FreeCoTaskMem
(txrg.lpstrText);
3387
Marshal.
FreeCoTaskMem
(unmanagedBuffer);
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (1)
756
Marshal.
FreeCoTaskMem
(allocatedStringBuffer);
winforms\Managed\System\WinForms\UnsafeNativeMethods.cs (1)
1694
Marshal.
FreeCoTaskMem
(pBytes);
System.Workflow.ComponentModel (3)
AuthoringOM\Compiler\XomlCompilerHelpers.cs (3)
863
Marshal.
FreeCoTaskMem
(typeRefNamePtr);
910
Marshal.
FreeCoTaskMem
(assemblyName);
916
Marshal.
FreeCoTaskMem
(assemblyMetadata.locale);
System.Workflow.Runtime (3)
DebugEngine\DebugController.cs (3)
167
Marshal.
FreeCoTaskMem
(securityDescriptorPtr);
201
Marshal.
FreeCoTaskMem
(securityDescriptorPtr);
219
Marshal.
FreeCoTaskMem
(securityDescriptorPtr);
UIAutomationClient (2)
MS\Internal\Automation\UiaCoreAPI.cs (1)
179
Marshal.
FreeCoTaskMem
(_pProperties);
System\Windows\Automation\Condition.cs (1)
45
Marshal.
FreeCoTaskMem
(handle);
UIAutomationClientsideProviders (1)
MS\Internal\AutomationProxies\SafeCoTaskMem.cs (1)
52
Marshal.
FreeCoTaskMem
(handle);
WindowsBase (3)
Base\MS\Internal\IO\Packaging\StorageBasedPackageProperties.cs (2)
738
Marshal.
FreeCoTaskMem
(pszVal);
774
Marshal.
FreeCoTaskMem
(pszVal);
Shared\MS\Win32\UnsafeNativeMethodsCLR.cs (1)
4098
Marshal.
FreeCoTaskMem
(mem);