pass size to free.
Skip unnecessary processing in interrupt handler.

2 spc(4/luna88k)'s share the same level 3 interrupt on LUNA-88K2.  So
returns earlier when the device is not the source of interrupt.

NetBSD has the same code.
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/ic/mb89352.c#rev1.34

"it is the right thing to do" miod@
Do not mark the pipe as halted when the HC reports a (split) transaction
error.  Makes Intel Series 7 controllers happy and no longer report an
illegal context state transition when detaching devices.
Only synchronize used TRBs and not the full ring when sending a control
transfer.  While here remove/fix other XXXs.
Make tls1_get_formatlist() behave the same as tls1_get_curvelist() and
return the client format list if the client_formats flag is specified.
Use tls1_get_formatlist()/tls1_get_curvelist() in tls1_check_ec_key(),
simplifying the code.

ok miod@
Use tls1_get_curvelist() in ssl_add_clienthello_tlsext(), rather than
hand rolling the same code.

ok miod@
Use more specific curves/formats naming for local variables in
ssl_add_clienthello_tlsext() and ssl_add_serverhello_tlsext(), rather than
the current generic naming.

ok miod@
compile with c89 (code / decl ordering); from Joakim.Tjernlund@transmode.se
ok miod
we use tradcpp instead; ok jsg
Switch syslogd from using poll(2) to libevent.
test and OK nicm@; OK henning@
Fix memory leak in the error path of v2i_AUTHORITY_KEYID().
ok deraadt@ guenther@
Missing deallocation upon error.
ok deraadt@ guenther@
Be sure to check object allocation for success before using them.
Tweaks and ok guenther@
Memory leak upon error in set_dist_point_name().
ok guenther@
In v2i_AUTHORITY_INFO_ACCESS(), separate object allocation from object push
on a stack; if the latter fails, we need to free the object before returning
failure.
ok guenther@
Be sure to check the stack push operation for success in v2i_POLICY_MAPPINGS();
if it fails, free the object we were about to push.
Factor error handling to avoid having four copies of about the same code.
ok guenther@
The fixes to X509_PURPOSE_add() in r1.18 actually could cause a global
X509_PURPOSE object (obtained with X509_PURPOSE_get0() instead of being
allocated in the function) to be freed if modifying that object would fail
due to a low memory condition, while this object would still be referenced
elsewhere.
Fix this by only cleaning the object if we did not allocate it here.

While there, fail early if either `name' or `sname' are NULL, rather than
allocating an object and realizing we have nothing to strdup() into it.

ok guenther@
Test that the specified libevent backend kqueue(2) or poll(2) or
select(2) is used by syslogd.
fix typo in comment: correspoding -> corresponding
correct options in usage(); from mancha1 AT zoho.com