|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-5f4f7ad06c
|
Segment release routines. More...

Go to the source code of this file.
Functions | |
| int | Segment_release (SEGMENT *SEG) |
| Free memory allocated to segment. | |
Segment release routines.
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file segment/release.c.
Free memory allocated to segment.
Releases the allocated memory associated with the segment file seg.
Note: Does not close the file. Does not flush the data which may be pending from previous Segment_put() calls.
| [in,out] | SEG | segment |
Definition at line 33 of file segment/release.c.
References UntypedStream::buf, and G_free().
Referenced by Segment_close().