mirror of
https://github.com/hyprwm/Hypr.git
synced 2025-12-21 11:20:02 +01:00
potential risk for double free
This commit is contained in:
parent
5a29688ca2
commit
ac645b36eb
1 changed files with 0 additions and 2 deletions
|
|
@ -71,8 +71,6 @@
|
|||
free(name); \
|
||||
return; \
|
||||
} \
|
||||
free(error##name);
|
||||
|
||||
|
||||
#define VECTORDELTANONZERO(veca, vecb) (abs(veca.x - vecb.x) > 0.4f || abs(veca.y - vecb.y) > 0.4f)
|
||||
#define VECTORDELTAMORETHAN(veca, vecb, delta) (abs(veca.x - vecb.x) > (delta) || abs(veca.y - vecb.y) > (delta))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue