1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-09-30 16:56:35 -04:00
sdrangel/sdrbase
Daniele Forsi cc6aa75912 Fix memleaks found with AddressSanitizer/LeakSanitizer
Found with:
ASAN_OPTIONS="detect_odr_violation=1,strip_path_prefix=$(pwd)/" build/sdrangel

Fixes:
Direct leak of 56 byte(s) in 1 object(s) allocated from:
    #0 0x7f9d7d0f46c8 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:95
    #1 0x7f9d7af247aa in MainCore::appendDeviceSet(int) sdrbase/maincore.cpp:219
    #2 0x7f9d7c95c8a5 in MainWindow::sampleSourceAdd(Workspace*, Workspace*, int) sdrgui/mainwindow.cpp:359
    #3 0x7f9d7c97ce3c in MainWindow::loadConfiguration(Configuration const*, bool) sdrgui/mainwindow.cpp:1439
    #4 0x7f9d7c95a610 in MainWindow::MainWindow(qtwebapp::LoggerWithFile*, MainParser const&, QWidget*) sdrgui/mainwindow.cpp:261
    #5 0x562f7c492175 in runQtApplication app/main.cpp:196
    #6 0x562f7c48fab7 in main app/main.cpp:248
    #7 0x7f9d776456c9 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58

and 34 others that I'm not copying here.
2024-05-19 19:44:45 +02:00
..
audio Merge pull request #2076 from dforsi/fix/includes 2024-04-21 11:15:46 +02:00
channel Remove unused includes and use more direct includes 2024-04-11 23:31:34 +02:00
commands Rewriting of copyright notices for sdrbase. Part of #1893 2023-11-19 13:43:10 +01:00
device Fix memleaks found with AddressSanitizer/LeakSanitizer 2024-05-19 19:44:45 +02:00
dsp Don't call start() in Demod's constructors. #2102 2024-05-08 18:52:34 +01:00
feature Remove unused includes and use more direct includes 2024-04-20 19:10:18 +02:00
pipes Rewriting of copyright notices for sdrbase. Part of #1893 2023-11-19 13:43:10 +01:00
plugin Remove unused includes and use more direct includes 2024-04-11 23:31:34 +02:00
resources Metis MISO: added lock all Rx frequencies option 2024-05-13 22:09:12 +02:00
settings Fix memleaks found with AddressSanitizer/LeakSanitizer 2024-05-19 19:44:45 +02:00
util AIS: Fix string decoding in safetey messages. #2094 2024-04-30 09:32:22 +01:00
webapi Remove unused includes and use more direct includes 2024-04-11 23:31:34 +02:00
websockets Rewriting of copyright notices for sdrbase. Part of #1893 2023-11-19 13:43:10 +01:00
availablechannelorfeature.cpp Remove unused includes and use more direct includes 2024-04-11 23:31:34 +02:00
availablechannelorfeature.h Use F:n for feature Ids instead of Fn:m as discussed in #1912 2024-03-05 10:28:01 +00:00
availablechannelorfeaturehandler.cpp Add add and removed channels or features. 2024-04-04 15:21:09 +01:00
availablechannelorfeaturehandler.h Remove unused includes and use more direct includes 2024-04-20 19:10:18 +02:00
CMakeLists.txt vkFFT: Fix building with recent Vulkan SDKs. 2024-04-26 00:35:16 +02:00
maincore.cpp Fix memleaks found with AddressSanitizer/LeakSanitizer 2024-05-19 19:44:45 +02:00
maincore.h Add AvailableChannelOrFeatureHandler for handling lists of channels, features and message pipes to them. 2024-02-16 16:31:12 +00:00
mainparser.cpp Rewriting of copyright notices for sdrbase. Part of #1893 2023-11-19 13:43:10 +01:00
mainparser.h Rewriting of copyright notices for sdrbase. Part of #1893 2023-11-19 13:43:10 +01:00
remotetcpsinkstarter.cpp Rewriting of copyright notices for sdrbase. Part of #1893 2023-11-19 13:43:10 +01:00
remotetcpsinkstarter.h Rewriting of copyright notices for sdrbase. Part of #1893 2023-11-19 13:43:10 +01:00