mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-15 11:45:47 +00:00
Fix possible memory leak
This commit is contained in:
parent
7fed3b8d58
commit
3abf82ca2c
@ -48,12 +48,12 @@ enum
|
||||
RTL_TCP_PAYLOAD_SIZE = 1024 * 4 // 4 KB
|
||||
};
|
||||
|
||||
rtl_tcp_signal_source_c_sptr
|
||||
rtl_tcp_make_signal_source_c(const std::string &address,
|
||||
rtl_tcp_signal_source_c_sptr rtl_tcp_make_signal_source_c(
|
||||
const std::string &address,
|
||||
int16_t port,
|
||||
bool flip_iq)
|
||||
{
|
||||
return gnuradio::get_initial_sptr(new rtl_tcp_signal_source_c(address,
|
||||
return rtl_tcp_signal_source_c_sptr(new rtl_tcp_signal_source_c(address,
|
||||
port,
|
||||
flip_iq));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user