Skip to content

Commit ed518c1

Browse files
committed
Fix memory error
Simple fix.
1 parent 2c234ec commit ed518c1

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

VERSIONS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
New in 4.8.2-11 (25 Mar 2024):
1+
New in 4.8.2-12 (26 Mar 2024):
22
- module -T: added -transform "cut(cube)", added -morphooptiini ori and id,
33
improved -transform "cut(cubei)", made minor fixes and improvements.
44
- module -M: made minor improvements.

doc/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
import sphinx_rtd_theme
1212

1313
project = u'Neper'
14-
version = u'4.8.2-11'
15-
release = u'4.8.2-11'
14+
version = u'4.8.2-12'
15+
release = u'4.8.2-12'
1616
author = u'Romain Quey'
1717
copyright = u'Romain Quey'
1818
language = 'en'

src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if(POLICY CMP0077)
77
cmake_policy(SET CMP0077 NEW)
88
endif()
99

10-
set(NEPER_VERSION \"4.8.2-11\")
10+
set(NEPER_VERSION \"4.8.2-12\")
1111
project(neper)
1212

1313
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.8.1)

src/neper_t/net_ori/net_ori1.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ net_ori (struct IN_T In, int level, struct MTESS MTess, struct TESS *Tess,
146146
net_ori_oricrysym (&OSet);
147147

148148
net_ori_memcpy (OSet, pSSet);
149+
ol_set_free (&OSet);
149150
}
150151

151152
// processing -orispread
@@ -157,7 +158,6 @@ net_ori (struct IN_T In, int level, struct MTESS MTess, struct TESS *Tess,
157158
ut_free_1d_char (&orisampling);
158159
ut_free_1d_char (&orispread);
159160
ut_free_1d_char (&oricrysym);
160-
ol_set_free (&OSet);
161161
ut_free_1d_int (&size);
162162

163163
return;

0 commit comments

Comments
 (0)