diff --git a/program/src/rrd_dump.c b/program/src/rrd_dump.c
index 0fcab179ab76f5fbd59e1af8fdc5cda505cf5c51..29cfaa87af53d976285146e5ca07939ad75b1590 100644 (file)
--- a/program/src/rrd_dump.c
+++ b/program/src/rrd_dump.c
/*****************************************************************************
- * RRDtool 1.1.x Copyright Tobias Oetiker, 1997 - 2002
+ * RRDtool 1.2.8 Copyright by Tobi Oetiker, 1997-2005
*****************************************************************************
* rrd_dump Display a RRD
*****************************************************************************
* $Id$
* $Log$
+ * Revision 1.7 2004/05/25 20:53:21 oetiker
+ * prevent small leak when resources are exhausted -- Mike Slifcak
+ *
+ * Revision 1.6 2004/05/25 20:51:49 oetiker
+ * Update displayed copyright messages to be consistent. -- Mike Slifcak
+ *
* Revision 1.5 2003/02/13 07:05:27 oetiker
* Find attached the patch I promised to send to you. Please note that there
* are three new source files (src/rrd_is_thread_safe.h, src/rrd_thread_safe.c
rrd_value_t value;
struct tm tm;
if(rrd_open(filename, &in_file,&rrd, RRD_READONLY)==-1){
+ rrd_free(&rrd);
return(-1);
}