Thema: Delphi PayPal Soap Anbindung

Einzelnen Beitrag anzeigen

TiG

Registriert seit: 6. Apr 2011
Ort: Berlin
3.060 Beitrge
 
Delphi 10.4 Sydney
 
#4

AW: PayPal Soap Anbindung

  Alt 2. Sep 2015, 08:30
Kenne mich mit der Thematik auch null aus, aber wenn man der Klasse RequesterCredentials einen Konstruktor und Destruktor verpasst, werden die auch erwartungsgem jeweils einmal durchlaufen.
Daran kann es also nicht liegen.
Wird vielleicht in den Unweiten des Frameworks sowas wie eine Kopie erzeugt?

Falls es jemanden weiterbringt, hier die Meldung vom externen FastMM (mit Delphi XE7):
Code:
--------------------------------2015/9/2 9:26:31--------------------------------
A memory block has been leaked. The size is: 52

This block was allocated by thread 0x474, and the stack trace (return addresses) at the time was:
406CC2 [System.pas][System][@GetMem$qqri][4391]
407AF3 [System.pas][System][TObject.NewInstance$qqrv][15641]
40821A [System.pas][System][@ClassCreate$qqrpvzc][16951]
685B2A [Soap.InvokeRegistry.pas][Soap.InvokeRegistry][Invokeregistry.TRemotable.$bctr$qqrv][2347]
6677E2 [Soap.OPToSOAPDomConv.pas][Soap.OPToSOAPDomConv][Optosoapdomconv.TSOAPDomConv.ReadHeader$qqrx47System.%DelphiInterface$20Xml.Xmlintf.IXMLNode%t1p31Soap.Invokeregistry.THeaderList][925]
66B4C5 [Soap.OPToSOAPDomConv.pas][Soap.OPToSOAPDomConv][Optosoapdomconv.TOPToSoapDomConvert.ProcessResponse$qqrx51System.%DelphiInterface$24Xml.Xmlintf.IXMLDocument%rx27Soap.Intfinfo.TIntfMetaDatarx28Soap.Intfinfo.TIntfMethEntryp31Soap.Invokeregistry.TInvContex
66B975 [Soap.OPToSOAPDomConv.pas][Soap.OPToSOAPDomConv][Optosoapdomconv.TOPToSoapDomConvert.ProcessResponse$qqrxp22System.Classes.TStreamrx27Soap.Intfinfo.TIntfMetaDatarx28Soap.Intfinfo.TIntfMethEntryp31Soap.Invokeregistry.TInvContextp31Soap.Invokeregistry.THea
675C6D [Soap.Rio.pas][Soap.Rio][Rio.TRIO.DoDispatch$qqrxp31Soap.Invokeregistry.TInvContextirx28Soap.Intfinfo.TIntfMethEntry][372]
67651B [Soap.Rio.pas][Soap.Rio][Rio.TRIO.Generic$qqrp23System.Rtti.TRttiMethodx42System.%DynamicArray$18System.Rtti.TValue%r18System.Rtti.TValue][530]
675FF2 [Soap.Rio.pas][Soap.Rio][Rio.TRIO.QueryInterface$15$ActRec.$0$Body$qqrp23System.Rtti.TRttiMethodx42System.%DynamicArray$18System.Rtti.TValue%r18System.Rtti.TValue][430]
469488 [System.Rtti.pas][System.Rtti][Rtti.TVirtualInterface.RawCallback$qqrpvx42System.%DynamicArray$18System.Rtti.TValue%r18System.Rtti.TValue][10027]

The block is currently used for an object of class: RequesterCredentials

The allocation number is: 6384

Current memory dump of 256 bytes starting at pointer address 7EC96C30:
DC AD 69 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 B9 1A 7D 80 80 80 80 00 00 00 00 F1 6D C9 7E
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 F9 18 00 00 C2 6C 40 00 F3 7A 40 00 89 D8 40 00
1A 82 40 00 E2 50 60 00 3A 44 FE 76 A0 60 60 00 E8 61 60 00 A5 77 60 00 74 18 67 00 DD 2F 67 00
74 04 00 00 74 04 00 00 DE 6C 40 00 11 7B 40 00 65 82 40 00 69 51 60 00 11 D9 40 00 EB D7 40 00
C1 B4 40 00 B1 B3 40 00 8F 7C 40 00 0A 7B 40 00 65 82 40 00 2C 00 00 00 3C 22 60 00 D4 59 60 FC
90 72 73 00 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80
80 80 80 80 80 80 80 80 80 80 80 80 2B A6 9F 03 80 80 80 80 80 80 80 80 00 00 00 00 B1 6E C9 7E
  *  i . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .   . }          . . . .   m   ~
. . . . . . . . . . . . . . . .   . . .   l @  .   z @  .     @  .
.   @  .   P `  . : D   v *  `  `  .   a `  .   w `  . t . g .   /  g .
t . . . t . . .   l @  . . {  @  . e   @  . i Q `  . .   @  .     @  .
    @  .     @  .   |  @  . . {  @  . e   @  . , . . . < " `  .   Y ` 
  r s .                                                      
                        +      .                 . . . .   n   ~

--------------------------------2015/9/2 9:26:31--------------------------------
This application has leaked memory. The small block leaks are (excluding expected leaks registered by pointer):

37 - 52 bytes: RequesterCredentials x 1
  Mit Zitat antworten Zitat