commit | 4eb3c31d3b4a70229ec5d5a8227c9d80541102ac | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Tue Mar 01 14:09:37 2016 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Tue Mar 01 14:09:37 2016 +0100 |
tree | c8dae46eadbaa329d6b9ee90be92475fd21345bd | |
parent | 4f9628416a97331f0905ba8896d99c30bfb5f6fd [diff] [blame] |
all BUGFIX memory allocation error checks
diff --git a/src/session_p.h b/src/session_p.h index 1166b49..e786fef 100644 --- a/src/session_p.h +++ b/src/session_p.h
@@ -283,6 +283,8 @@ void (*notif_clb)(struct nc_session *session, const struct nc_notif *notif); }; +void *nc_realloc(void *ptr, size_t size); + NC_MSG_TYPE nc_send_msg(struct nc_session *session, struct lyd_node *op); int nc_timedlock(pthread_mutex_t *lock, int timeout, int *elapsed);