Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
4881b502
Commit
4881b502
authored
Apr 26, 2007
by
Michael Beck
Browse files
Fixed the fix for the memory leak
[r13488]
parent
6c3b7b42
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/ana/execfreq.c
View file @
4881b502
...
...
@@ -367,15 +367,15 @@ compute_execfreq(ir_graph * irg, double loop_weight)
#ifdef USE_GSL
gsl_vector_free
(
x
);
#endif
free
(
matrix
);
free
(
rhs
);
memset
(
&
ef
->
hook
,
0
,
sizeof
(
ef
->
hook
));
ef
->
hook
.
context
=
ef
;
ef
->
hook
.
hook
.
_hook_node_info
=
exec_freq_node_info
;
register_hook
(
hook_node_info
,
&
ef
->
hook
);
}
free
(
matrix
);
free
(
rhs
);
return
ef
;
}
...
...
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