Skip to content

Commit

Permalink
cosmetics.
Browse files Browse the repository at this point in the history
  • Loading branch information
chikuzen committed Apr 6, 2016
1 parent 6b11c31 commit 4d170a1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion avisynth/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ Changelog:
- a bit optimized gaussian-blur/hysteresis.

1.1.1 (20160330):
- Add AVX2 support for 32bit.
- Add AVX2 support for 32bit.


Source code:
Expand Down
12 changes: 4 additions & 8 deletions avisynth/src/tcannymod.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -208,10 +208,8 @@ TCannyM::TCannyM(PClip ch, int m, float sigma, float tmin, float tmax, int c,

TCannyM::~TCannyM()
{
if (horizontalKernel) {
_aligned_free(horizontalKernel);
horizontalKernel = nullptr;
}
_aligned_free(horizontalKernel);
horizontalKernel = nullptr;
}


Expand All @@ -237,10 +235,8 @@ class Buffers {
};
~Buffers()
{
if (orig) {
_aligned_free(orig);
orig = nullptr;
}
_aligned_free(orig);
orig = nullptr;
};
};

Expand Down

0 comments on commit 4d170a1

Please sign in to comment.