Commit 51447070 authored by Matteo Quintiliani's avatar Matteo Quintiliani

Free channelList_subset_waste


git-svn-id: file:///home/quintiliani/svncopy/nmxptool/trunk@864 3cd66e75-5955-46cb-a940-c26e5fc5497d
parent 133ccac2
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* Istituto Nazionale di Geofisica e Vulcanologia - Italy * Istituto Nazionale di Geofisica e Vulcanologia - Italy
* quintiliani@ingv.it * quintiliani@ingv.it
* *
* $Id: nmxptool.c,v 1.145 2008-03-03 13:19:47 mtheo Exp $ * $Id: nmxptool.c,v 1.146 2008-03-04 14:01:54 mtheo Exp $
* *
*/ */
...@@ -720,6 +720,13 @@ int main (int argc, char **argv) { ...@@ -720,6 +720,13 @@ int main (int argc, char **argv) {
/* Get a subset of channel from arguments, in respect to the step 3 of PDS */ /* Get a subset of channel from arguments, in respect to the step 3 of PDS */
channelList_subset_waste = nmxp_chan_subset(channelList, NMXP_DATA_TIMESERIES, params.channels, CURRENT_NETWORK); channelList_subset_waste = nmxp_chan_subset(channelList, NMXP_DATA_TIMESERIES, params.channels, CURRENT_NETWORK);
/* TODO check if channelList_subset_waste is equal to channelList_subset and free */
if(channelList_subset_waste) {
free(channelList_subset_waste);
channelList_subset_waste = NULL;
}
/* PDS Step 4: Send a Request Pending (optional) */ /* PDS Step 4: Send a Request Pending (optional) */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment