-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
dotnet/runtime
#54045Labels
Description
Steps to Reproduce
mono/mono/mini/mini-generic-sharing.c
Line 2843 in bdd7725
index = register_info (klass, type_argc, data, info_type); - if the data is found in the lookup aka it is registered, the does nothing to ensure it frees
data. datais always newly allocated before passed to the method
Current Behavior
Leak
Expected Behavior
No leak
On which platforms did you notice this
[*] macOS
[ ] Linux
[ ] Windows
Version Used:
Mono JIT compiler version 6.12.0.125 (2020-02/8c552e98bd6 Mon Mar 8 13:06:52 EST 2021)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS:
SIGSEGV: altstack
Notification: kqueue
Architecture: amd64
Disabled: none
Misc: softdebug
Interpreter: yes
LLVM: yes(610)
Suspend: hybrid
GC: sgen (concurrent by default)
Stacktrace
Please paste the stack trace here if available.