Open Source Telephony
 help / color / mirror / Atom feed
* Documentation on when to free structures in/after callbacks
@ 2021-07-28 16:32 ajlennon
  2021-07-28 17:31 ` Denis Kenzior
  0 siblings, 1 reply; 7+ messages in thread
From: ajlennon @ 2021-07-28 16:32 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 516 bytes --]

Hi all,

I'm trying to write a driver for Quectel modems as I need some specific bits and bobs - mainly signal strengths for the serving cell and neighbourhood cells

I can't quite get my head around when I am supposed to provide free() functions to to calls and when to free in callbacks on success or error conditions.

Is there a bit of a document somewhere somebody could direct me to that explains this?

Or maybe I am overthinking and somebody could just explain the logic behind it?

Thanks!

Alex

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-07-30 15:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-28 16:32 Documentation on when to free structures in/after callbacks ajlennon
2021-07-28 17:31 ` Denis Kenzior
2021-07-30 13:21   ` ajlennon
2021-07-30 14:20     ` Denis Kenzior
2021-07-30 14:24       ` ajlennon
2021-07-30 14:30         ` Denis Kenzior
2021-07-30 15:12           ` ajlennon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox