[4155] in BarnOwl Developers

home help back first fref pref prev next nref lref last post

[barnowl/barnowl] 0c059f: Rename owl_log_entry_free to

daemon@ATHENA.MIT.EDU (GitHub)
Sat Oct 7 05:21:47 2017

Date: Sat, 07 Oct 2017 00:12:36 -0700
From: GitHub <noreply@github.com>
Reply-To: GitHub <noreply@github.com>
To: barnowl-dev@mit.edu


----==_mimepart_59d87e64607b3_60e23fd6a8ac3c3079612
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: quoted-printable

  Branch: refs/heads/master
  Home:   https://github.com/barnowl/barnowl
  Commit: 0c059f0fccba1043c860fc69292bd24f7284f2a9
      https://github.com/barnowl/barnowl/commit/0c059f0fccba1043c860fc692=
92bd24f7284f2a9
  Author: Anders Kaseorg <andersk@mit.edu>
  Date:   2017-10-07 (Sat, 07 Oct 2017)

  Changed paths:
    M logging.c

  Log Message:
  -----------
  Rename owl_log_entry_free to owl_log_entry_delete

We use =E2=80=9C_cleanup=E2=80=9D for functions that free everything refe=
renced by the
object and =E2=80=9C_delete=E2=80=9D for functions that also free the obj=
ect itself,
avoiding the ambiguous =E2=80=9C_free=E2=80=9D.

Also remove the NULL check since the pointer can never be NULL.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>



----==_mimepart_59d87e64607b3_60e23fd6a8ac3c3079612--

home help back first fref pref prev next nref lref last post