mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-05 12:40:16 +01:00
Passing ownership with a function call is confusing. Don't do that. Since we have the cleanup attribute, it doesn't significantly complicate the callers, as all they need to do is marking the @msg variable to free the message when going out of scope. That results in the function that allocates the message also being responsible to free it. |
||
|---|---|---|
| .. | ||
| wifi-utils-nl80211.c | ||
| wifi-utils-nl80211.h | ||
| wifi-utils-private.h | ||
| wifi-utils-wext.c | ||
| wifi-utils-wext.h | ||
| wifi-utils.c | ||
| wifi-utils.h | ||