[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to release dynamically allocated channel callback data?
[Thread Prev] | [Thread Next]
- Subject: How to release dynamically allocated channel callback data?
- From: Joerg Pommnitz <pommnitz@xxxxxxxxx>
- Reply-to: Joerg Pommnitz <pommnitz@xxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Tue, 2 Dec 2014 13:15:47 +0000 (UTC)
- To: "libssh@xxxxxxxxxx" <libssh@xxxxxxxxxx>
Hello all,because I need per channel userdata I have to use a dynamically allocated channel callback structure. Unfortunately there sems to be no way to access these data from a channel. Am I right or is there a way? If not, how can I release the dynamically allocated callback data before a ssh_channel_free? Do I have to track these separately (would be a real pain)? -- Regards Joerg
Re: How to release dynamically allocated channel callback data? | Andreas Schneider <asn@xxxxxxxxxxxxxx> |