Correções importantes no Harbour hbwin

Projeto [x]Harbour - Compilador de código aberto compatível com o Clipper.

Moderador: Moderadores

Avatar do usuário
Itamar M. Lins Jr.
Administrador
Administrador
Mensagens: 7929
Registrado em: 30 Mai 2007 11:31
Localização: Ilheus Bahia
Curtiu: 1 vez

Correções importantes no Harbour hbwin

Mensagem por Itamar M. Lins Jr. »

Bug, bem velho por sinal, que foi reportado recentemente.

A aplicação vai comendo memoria até dar um GPF! Acredito que todos nós usamos muito esses comandos.

Código: Selecionar todos

2015-06-02 12:57 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com)
  * contrib/hbwin/win_prn2.c
    ! win_PrinterStatus() / XIsPrinter()
      fix another bad memory leak (similar to the previous one)
      present in the code since ~2003-09-23
      (its initial commit to xHarbour repo).

2015-06-02 12:39 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com)
  * contrib/hbwin/win_prn2.c
    ! win_PrinterList( .T. ) / GetPrinters( .T. )
      fix bad memory leak present in the code since ~2003-10-08
      (its initial commit to xHarbour repo).
      reported by Alen:
      https://groups.google.com/d/msg/harbour-users/80lqE6taoKk/5_IeeSHRSQcJ
    * win_PrinterList( .T. ) close printer handle
      only if opened successfully
No mesmo dia que foi reportado foi corrigido.

Saudações,
Itamar M. Lins Jr.
Saudações,
Itamar M. Lins Jr.
Responder