Skip to Content.
Sympa Menu

freetds - memory leak patches in plaintext

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: David Nahman <vanyadog AT yahoo.com>
  • To: freetds AT franklin.metalab.unc.edu
  • Subject: memory leak patches in plaintext
  • Date: Mon, 1 Jul 2002 14:52:12 -0700 (PDT)


Dear list,

Here are the patches in plaintext:

Regards,
David


Index: token.c
===================================================================
RCS file: /cvsroot/freetds/freetds/src/tds/token.c,v
retrieving revision 1.23
diff -r1.23 token.c
1202a1203,1206
> /* dnr */
> if (tds->msg_info->message)
> free(tds->msg_info->message);
> /* !dnr */
1208a1213,1216
> /* dnr */
> if (tds->msg_info->server)
> free(tds->msg_info->server);
> /* !dnr */


Index: mem.c
===================================================================
RCS file: /cvsroot/freetds/freetds/src/tds/mem.c,v
retrieving revision 1.10
diff -r1.10 mem.c
370c370,375
< if (tds->msg_info) TDS_ZERO_FREE(tds->msg_info);
---
> /*dnr */
> if (tds->msg_info) {
> tds_free_msg(tds->msg_info);
> TDS_ZERO_FREE(tds->msg_info);
> }
> /*!dnr */
396a402,409
> /*dnr*/
> if (config->host) free (config->host);
> if (config->app_name) free (config->app_name);
> if (config->user_name) free (config->user_name);
> if (config->password) free (config->password);
> if (config->library) free (config->library);
> /*!dnr*/
>






__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com



  • memory leak patches in plaintext, David Nahman, 07/01/2002

Archive powered by MHonArc 2.6.24.

Top of Page