File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ module json_file_module
31
31
! used to open a file and get data from it.
32
32
!
33
33
! A `json_file` contains only two items: an instance of a [[json_core(type)]],
34
- ! which use used for all data manipulation, and a [[json_value]],
34
+ ! which is used for all data manipulation, and a [[json_value]] pointer ,
35
35
! which is used to construct the linked-list data structure.
36
36
! Note that most methods in the `json_file` class are simply wrappers
37
37
! to the lower-level routines in the [[json_value_module]].
@@ -56,6 +56,9 @@ module json_file_module
56
56
! call json%destroy()
57
57
! end program test
58
58
! ```
59
+ !
60
+ ! @warning The `destroy()` method must be called before the variable
61
+ ! goes out of scope or a memory leak will occur.
59
62
60
63
type,public :: json_file
61
64
@@ -92,7 +95,6 @@ module json_file_module
92
95
json_file_print_1, &
93
96
json_file_print_2
94
97
95
-
96
98
! >
97
99
! Rename a variable, specifying it by path
98
100
generic,public :: rename = > MAYBEWRAP(json_file_rename)
You can’t perform that action at this time.
0 commit comments