New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Sat Oct 20 13:14:54 UTC 2018


Hi,

Please find the latest report on new defect(s) introduced to LibreOffice found with Coverity Scan.

1 new defect(s) introduced to LibreOffice found with Coverity Scan.
1 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.

New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)


** CID 1440400:  Resource leaks  (CTOR_DTOR_LEAK)
/sw/source/uibase/dbui/mailmergehelper.cxx: 549 in AddressPreview::AddressPreview(std::unique_ptr<weld::ScrolledWindow, std::default_delete<weld::ScrolledWindow>>)()


________________________________________________________________________________________________________
*** CID 1440400:  Resource leaks  (CTOR_DTOR_LEAK)
/sw/source/uibase/dbui/mailmergehelper.cxx: 549 in AddressPreview::AddressPreview(std::unique_ptr<weld::ScrolledWindow, std::default_delete<weld::ScrolledWindow>>)()
543         }
544         return sAddress.makeStringAndClear();
545     }
546     
547     AddressPreview::AddressPreview(std::unique_ptr<weld::ScrolledWindow> xWindow)
548         : m_xVScrollBar(std::move(xWindow))
>>>     CID 1440400:  Resource leaks  (CTOR_DTOR_LEAK)
>>>     Allocating memory by calling "new SwAddressPreview_Impl".
549         , pImpl(new SwAddressPreview_Impl())
550     {
551         m_xVScrollBar->set_user_managed_scrolling();
552         m_xVScrollBar->connect_vadjustment_changed(LINK(this, AddressPreview, ScrollHdl));
553     }
554     


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRZBnDJeNb0HijxaS4JNJPxk3kpyAm2AYqo71yXmnOxB72ibeUH-2F-2F1Lhi9AZq3dRu-2F4-3D_g-2BrHdvqzaBa155F-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpyfMvAD-2B4zVnyq0pz6UPDkb8dpFeaCou3K53ghLodOcIJ3KbY09rjje7p7AjGcZ4tNBeJlcauNAEMQJDABeB3jRzCMBCNyIYdWxA5PBkm4xeMdfNWHpT8JYajeWX2vSm5hqZ8eLlS0JrufJsWU4FYYRC4tOfBgwZyd1h7uDPS6VFI-3D



More information about the LibreOffice mailing list