summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ce63954)
raw | patch | inline | side by side (parent: ce63954)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sat, 22 Feb 2003 21:57:03 +0000 (21:57 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sat, 22 Feb 2003 21:57:03 +0000 (21:57 +0000) |
distribute all required source files -- Peter Stamfest <peter@stamfest.at>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@186 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@186 a5681a0c-68f1-0310-ab6d-d61299d08faa
doc/Makefile.am | patch | blob | history | |
src/Makefile.am | patch | blob | history | |
src/rrd_error.c | patch | blob | history |
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 3022e64ba28ff37b4ac43258cf7ce04b06143016..261e8c77d19a1ee297ca444d1bee0dc7a623f032 100644 (file)
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
POD = rrdtool.pod rrdlast.pod rrdcreate.pod rrdupdate.pod rrdtutorial.es.pod \
cdeftutorial.pod rpntutorial.pod rrdgraph-old.pod bin_dec_hex.pod \
rrdfetch.pod rrdrestore.pod rrddump.pod rrdtune.pod rrdresize.pod \
- rrdxport.pod rrdcgi.pod rrdtutorial.pod rrdinfo.pod $(SRC:.src=.pod)
+ rrdxport.pod rrdcgi.pod rrdtutorial.pod rrdinfo.pod rrdthreads.pod \
+ $(SRC:.src=.pod)
PMP = RRDs.pm RRDp.pm
diff --git a/src/Makefile.am b/src/Makefile.am
index 4a93f32f275e52b61b330ea177b8074f3c7a7b86..75a29d57d2326772ddfe8cc643ee8c288136887c 100644 (file)
--- a/src/Makefile.am
+++ b/src/Makefile.am
getopt.h ntconfig.h parsetime.h \
rrd_format.h rrd_tool.h rrd_xport.h rrd.h rrd_hw.h rrd_rpncalc.h \
rrd_tool.c \
- rrd_nan_inf.h fnv.h rrd_graph.h rrd_afm.h rrd_afm_data.h
+ rrd_nan_inf.h fnv.h rrd_graph.h rrd_afm.h rrd_afm_data.h \
+ rrd_is_thread_safe.h
# Build two libraries. One is a public one that gets installed in
# $prefix/lib. Libtool does not create an archive of the PIC compiled
diff --git a/src/rrd_error.c b/src/rrd_error.c
index 33d7c2f0c849abbb37d8046cfc197751d5ccf8f4..4b1b96f438e7e2a88a6bdc78edd79037a120fea2 100644 (file)
--- a/src/rrd_error.c
+++ b/src/rrd_error.c
*****************************************************************************
* $Id$
* $Log$
+ * Revision 1.4 2003/02/22 21:57:03 oetiker
+ * a patch to avoid a memory leak and a Makefile.am patch to
+ * distribute all required source files -- Peter Stamfest <peter@stamfest.at>
+ *
* Revision 1.3 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_free_context(struct rrd_context *rrd_ctx) {
if (rrd_ctx) {
if (rrd_ctx->rrd_error) free(rrd_ctx->rrd_error);
+ if (rrd_ctx->lib_errstr) free(rrd_ctx->lib_errstr);
free(rrd_ctx);
}
}