dunst-project / dunst

Lightweight and customizable notification daemon
https://dunst-project.org
Other
4.52k stars 338 forks source link

Enforce g_malloc over malloc in project #1144

Closed bebehei closed 1 year ago

bebehei commented 1 year ago

We need to use g_malloc since it handles the error conditions of malloc and terminates the program immediately. We do not have to check for error codes we could not handle anyways.

codecov-commenter commented 1 year ago

Codecov Report

Merging #1144 (48315a2) into master (7bd8e6b) will not change coverage. The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@           Coverage Diff           @@
##           master    #1144   +/-   ##
=======================================
  Coverage   65.96%   65.96%           
=======================================
  Files          46       46           
  Lines        7548     7548           
=======================================
  Hits         4979     4979           
  Misses       2569     2569           
Flag Coverage Δ
unittests 65.96% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

fwsmit commented 1 year ago

Thanks!