File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -1841,6 +1841,10 @@ Mon, 5 Jul 2004 10:41:54 +0200
18411841 - Fixed indicator in SET DESCRIPTOR.
18421842 - Added special handling of descriptor header information.
18431843 - More code cleanup.
1844+
1845+ Mon Jul 5 20:50:09 CEST 2004
1846+
1847+ - Added free() calls against memory leak in interval.c.
18441848 - Set pgtypes library version to 1.2.
18451849 - Set ecpg version to 3.2.0.
18461850 - Set compat library version to 1.2.
Original file line number Diff line number Diff line change @@ -782,12 +782,14 @@ PGTYPESinterval_from_asc(char *str, char **endptr)
782782 if (dtype != DTK_DELTA )
783783 {
784784 errno = PGTYPES_INTVL_BAD_INTERVAL ;
785+ free (result );
785786 return NULL ;
786787 }
787788
788789 if (tm2interval (tm , fsec , result ) != 0 )
789790 {
790791 errno = PGTYPES_INTVL_BAD_INTERVAL ;
792+ free (result );
791793 return NULL ;
792794 }
793795
You can’t perform that action at this time.
0 commit comments