Re: [PATCH v2 1/3] media: venus: Add support for static video encoder/decoder declarations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/28/24 14:54, Bryan O'Donoghue wrote:
On 28/11/2024 09:02, Vladimir Zapolskiy wrote:
+    np = of_changeset_create_node(ocs, dev->of_node, node_name);
+    if (!np) {
+        dev_err(dev, "Unable to create new node\n");
+        return -ENODEV;

Leaked reference to np.

I don't believe that's a leak, because you only release np when it is
non-NULL.


Clearly it's my fault here, I'm very sorry for it.

--
Best wishes,
Vladimir




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux