Fresh IDE . Check-in [8310acbb5d]
Not logged in

This repository is a mirror!

The original is located on: https://fresh.flatassembler.net/fossil/repo/fresh
If you want to follow the project, please update your remote-url

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Correct free of the strDisplay global variable.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:8310acbb5de53cedcfc4b6186da5f98446504048
User & Date: johnfound 2018-06-27 09:22:02
Context
2018-06-29
10:48
Small addition to the help files. check-in: 8945de3c57 user: johnfound tags: trunk
2018-06-27
09:22
Correct free of the strDisplay global variable. check-in: 8310acbb5d user: johnfound tags: trunk
2018-06-26
07:15
Small bug fixed. check-in: 41498af8b7 user: johnfound tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to source/Fasm.asm.

152
153
154
155
156
157
158
159
160
161
162


163
164
165
166
167
168
169
...
175
176
177
178
179
180
181


182
183
184
185
186
187
188
189

        xor     eax, eax
        inc     eax
        return

.out_of_memory:

        stdcall StrDel, [strDisplay]
        mov     [strDisplay], 0

        xor     eax, eax


        return
endp


;----------------------------------------------------------
; Free compiling resources.
; Frees all memory used by compiler, dynamic strings, etc.
................................................................................
        mov     ebx, [hfile]
        test    ebx,ebx
        jz      .handle_ok

        call    close

.handle_ok:


        stdcall StrDel, [strDisplay]
        stdcall DestroyVCash

        return
endp










<
<
<

>
>







 







>
>
|







152
153
154
155
156
157
158



159
160
161
162
163
164
165
166
167
168
...
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190

        xor     eax, eax
        inc     eax
        return

.out_of_memory:




        xor     eax, eax
        xchg    eax, [strDisplay]
        stdcall StrDel, eax
        return
endp


;----------------------------------------------------------
; Free compiling resources.
; Frees all memory used by compiler, dynamic strings, etc.
................................................................................
        mov     ebx, [hfile]
        test    ebx,ebx
        jz      .handle_ok

        call    close

.handle_ok:
        xor     eax, eax
        xchg    eax, [strDisplay]
        stdcall StrDel, eax
        stdcall DestroyVCash

        return
endp