Skip to content

Fix three coverity issues

Matan Ziv-Av requested to merge matan/konsole:coverity2 into master

Reported here: https://mail.kde.org/pipermail/konsole-devel/2022-July/041429.html

  • Use delete[] to free array allocated with new.
  • Don't separate two cases which are handled identically.
  • In vt100 parsing state machine no need to handle in specific states characters which are handles identically in all states.

This should probably be applied to 22.08 as well.

Edited by Matan Ziv-Av

Merge request reports