Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython_plus_experiments
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Julien Jerphanion
cython_plus_experiments
Commits
6fb98a5d
Commit
6fb98a5d
authored
May 25, 2021
by
Julien Jerphanion
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't free user provide numpy array data
parent
f68236da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
kdtree/kdtree.pyx
kdtree/kdtree.pyx
+0
-4
No files found.
kdtree/kdtree.pyx
View file @
6fb98a5d
...
@@ -179,11 +179,7 @@ cdef cypclass KDTree:
...
@@ -179,11 +179,7 @@ cdef cypclass KDTree:
void
__dealloc__
(
self
):
void
__dealloc__
(
self
):
printf
(
"Deallocating KDTree datastructures
\
n
"
)
free
(
self
.
data_ptr
)
free
(
self
.
indices_ptr
)
free
(
self
.
indices_ptr
)
printf
(
"Done deallocating KDTree datastructures
\
n
"
)
# XXX It sometimes blocks over here and then segfaults
cdef
public
int
main
()
nogil
:
cdef
public
int
main
()
nogil
:
# Entry point for the compiled binary file
# Entry point for the compiled binary file
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment