~ubuntu-branches/ubuntu/quantal/psi/quantal

« back to all changes in this revision

Viewing changes to third-party/qca/qca/src/support/qpipe.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jan Niehusmann
  • Date: 2008-08-28 18:46:52 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080828184652-iiik12dl91nq7cdi
Tags: 0.12-2
Uploading to unstable (Closes: Bug#494352)

Show diffs side-by-side

added added

removed removed

Lines of Context:
955
955
                consoleMode = false;
956
956
#endif
957
957
#ifdef Q_OS_UNIX
958
 
                delete sn_read;
 
958
                if (sn_read) {
 
959
                        sn_read->setEnabled(false);
 
960
                        sn_read->deleteLater();
 
961
                }
959
962
                sn_read = 0;
960
 
                delete sn_write;
 
963
                if (sn_write) {
 
964
                        sn_write->setEnabled(false);
 
965
                        sn_write->deleteLater();
 
966
                }
961
967
                sn_write = 0;
962
968
#endif
963
969
                if(pipe != INVALID_Q_PIPE_ID)