[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mailutils/MySql MySql.c
From: |
Sergey Poznyakoff |
Subject: |
mailutils/MySql MySql.c |
Date: |
Thu, 30 Aug 2001 06:41:35 -0700 |
CVSROOT: /cvs
Module name: mailutils
Changes by: Sergey Poznyakoff <address@hidden> 01/08/30 06:41:34
Modified files:
MySql : MySql.c
Log message:
Use asprintf instead of sprintf, use xmalloc instead of malloc.
Return values were allocated dynamically but never freed, this
caused memory leaks if authentication functions were called more
than once. Made them static, so that they get reallocated at each
new invocation of getM functions, thus reclaming lost storage.
Made <config.h> the first file to be included and guard it with
#ifdef HAVE_CONFIG_H
Reindented text to conform to GNU coding style.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/mailutils/MySql/MySql.c.diff?cvsroot=OldCVS&tr1=1.1&tr2=1.2&r1=text&r2=text
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- mailutils/MySql MySql.c,
Sergey Poznyakoff <=