summaryrefslogtreecommitdiffstats
path: root/debian/libosmocore.install
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-07-11 08:17:02 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-08-09 17:48:24 +0200
commit9b037a6a7a16bf580906e3197a54a366ac26060c (patch)
treebe08341de622d83c58e1fe6397348cbeb8d5b927 /debian/libosmocore.install
parent73fa6427aa5df95728eab41ec1b24f04a0dcf51e (diff)
lapd: Remove the double NULL check idiom with msgb_free
if (ptr) msgb_free(ptr) extends to: if (ptr) talloc_free(ptr) And according to the talloc documentation a talloc_free(NULL) will not crash: "... Likewise, if "ptr" is NULL, then the function will make no modifications and returns -1."
Diffstat (limited to 'debian/libosmocore.install')
0 files changed, 0 insertions, 0 deletions