1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-12-15 15:18:27 +09:00
Commit Graph

2 Commits

Author SHA1 Message Date
Marcin Cieślak
7d881427d4 Use delete[] after new[]
gmake: Wejście do katalogu '/usr/home/saper/sw/misskey/build'
  CXX(target) Release/obj.target/crypto_key/src/crypto_key.o
../src/crypto_key.cc:25:3: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'?
      [-Wmismatched-new-delete]
                delete sourceBuf;
                ^
                      []
../src/crypto_key.cc:18:25: note: allocated with 'new[]' here
        const auto sourceBuf = new char[sourceLength];
                               ^
../src/crypto_key.cc:32:2: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'?
      [-Wmismatched-new-delete]
        delete sourceBuf;
        ^
              []
../src/crypto_key.cc:18:25: note: allocated with 'new[]' here
        const auto sourceBuf = new char[sourceLength];
                               ^
2 warnings generated.
2018-05-16 00:21:54 +02:00
Akihiko Odaki
001d5faac9 Add keypair to local account 2018-03-27 00:26:25 +09:00